summaryrefslogtreecommitdiff
path: root/hack/swagger-check
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-08-02 16:01:23 +0200
committerGitHub <noreply@github.com>2022-08-02 16:01:23 +0200
commitc09457e34a429622475e27fe68e17effe47fe0c3 (patch)
tree5e35d1b4b68124f26c2de2074aca5e07fb74e68e /hack/swagger-check
parent080cbf1d9594e835df309c84cf4f89061fb2fc2e (diff)
parent69d7407afbe76eb7553b84193f93281b9c5ce904 (diff)
downloadpodman-c09457e34a429622475e27fe68e17effe47fe0c3.tar.gz
podman-c09457e34a429622475e27fe68e17effe47fe0c3.tar.bz2
podman-c09457e34a429622475e27fe68e17effe47fe0c3.zip
Merge pull request #15119 from nicrowe00/15071
switch from "kube/play" endpoint to "play/kube" endpoint.
Diffstat (limited to 'hack/swagger-check')
-rwxr-xr-xhack/swagger-check4
1 files changed, 2 insertions, 2 deletions
diff --git a/hack/swagger-check b/hack/swagger-check
index 1e5b95c3a..b4481f5bb 100755
--- a/hack/swagger-check
+++ b/hack/swagger-check
@@ -320,8 +320,8 @@ sub operation_name {
if ($action eq 'df') {
$action = 'dataUsage';
}
- elsif ($action eq "delete" && $endpoint eq "/libpod/kube/play") {
- $action = "PlayDown"
+ elsif ($action eq "delete" && $endpoint eq "/libpod/play/kube") {
+ $action = "KubeDown"
}
# Grrrrrr, this one is annoying: some operations get an extra 'All'
elsif ($action =~ /^(delete|get|stats)$/ && $endpoint !~ /\{/) {