-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix galaxy.yaml #56
Fix galaxy.yaml #56
Conversation
36d5e26
to
1faa556
Compare
567db21
to
ba1ba91
Compare
f8a8abd
to
a00f64a
Compare
7dab871
to
bab88ea
Compare
roles/oneagent/tests/conftest.py
Outdated
@@ -42,7 +42,7 @@ | |||
|
|||
|
|||
def is_local_deployment(platforms: PlatformCollection) -> bool: | |||
return any("localhost" in hosts for _, hosts in platforms.items()) | |||
return any("localhost" in hosts for platform, hosts in platforms.items()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i don't like this ;) Isn't pep8 checker throwing error on this?
roles/oneagent/tests/conftest.py
Outdated
@@ -54,7 +54,7 @@ def parse_platforms_from_options( | |||
if key in deployment_platforms and hosts: | |||
if "localhost" in hosts: | |||
logging.info( | |||
f"Local deployment detected for {key}, only this host will be used") | |||
"Local deployment detected for %s, only this host will be used", key) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is wrong, F-strings are much better sine python3.7. Maybe something went wrong with pytlint settings
@@ -18,13 +18,17 @@ saveToConfig() { | |||
while [ $# -gt 0 ]; do | |||
# example command: --set-host-property=TENANT=tenant1 | |||
# setter: --set-host-property | |||
local setter="$(cutVariable "${1}" "=" 1)" | |||
local setter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should it be this way?
No description provided.