Fix issues introduced by pylint/pep8 for dcmanager
This commit fixes some regressions caused by the merge with
master in the original commit.
1 - Small formatting changes to be more consistent with
existing code;
2 - Removal of require_audit_flag that was mistakenly reintroduced during a rebase;
3 - Repositioning of eventlet.monkey_patch() so it
happens before the other imports;
4 - Fix the admin IP conditional so it matches previous
behavior;
5 - Change the determine_image_fields conditional so it
matches previous behavior.
Reviewed: https:/ /review. opendev. org/c/starlingx /distcloud/ +/906112 /opendev. org/starlingx/ distcloud/ commit/ 91c9d301d8cc9e1 6520599dd1f12d1 a60b6370bb
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 91c9d301d8cc9e1 6520599dd1f12d1 a60b6370bb
Author: rlima <email address hidden>
Date: Fri Jan 19 10:42:23 2024 -0300
Fix issues introduced by pylint/pep8 for dcmanager
This commit fixes some regressions caused by the merge with
reintroduced during a rebase; monkey_ patch() so it image_fields conditional so it
master in the original commit.
1 - Small formatting changes to be more consistent with
existing code;
2 - Removal of require_audit_flag that was mistakenly
3 - Repositioning of eventlet.
happens before the other imports;
4 - Fix the admin IP conditional so it matches previous
behavior;
5 - Change the determine_
matches previous behavior.
Related commit: /review. opendev. org/c/starlingx /distcloud/ +/893000
https:/
Test Plan:
1. Perform `tox` command
- Pass in py39, pylint, pep8:
Closes-bug: 2033294
Change-Id: Icea2a80e2e4eed 79f37bf49878e6f dea0db13a56
Signed-off-by: rlima <email address hidden>