mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-05-08 14:02:38 +00:00
k8s inventory - remove trailing slashes from hostname (#63)
When the user provides a hostname with trailing slashes like https://localhost:6443/, the openshift library fails to enumerate the APIs from the given cluster. This fix removes any extra trailing slashes before sending it to the openshift DynamicClient. Fixes: #52 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
2
changelogs/fragments/52_inventory.yml
Normal file
2
changelogs/fragments/52_inventory.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- k8s inventory - remove extra trailing slashes from the hostname (https://github.com/ansible-collections/kubernetes.core/issues/52).
|
||||
Reference in New Issue
Block a user