mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
parent
0c8f95f59a
commit
04b4ca51c3
1 changed files with 1 additions and 1 deletions
|
@ -363,7 +363,7 @@ def main():
|
||||||
try:
|
try:
|
||||||
url = target_endpoint + KIND_URL[kind]
|
url = target_endpoint + KIND_URL[kind]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
module.fail_json("invalid resource kind specified in the data: '%s'" % kind)
|
module.fail_json(msg="invalid resource kind specified in the data: '%s'" % kind)
|
||||||
url = url.replace("{namespace}", namespace)
|
url = url.replace("{namespace}", namespace)
|
||||||
else:
|
else:
|
||||||
url = target_endpoint
|
url = target_endpoint
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue