aboutsummaryrefslogtreecommitdiff
path: root/hack
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2021-08-25 11:15:18 -0700
committerBrent Baude <bbaude@redhat.com>2021-08-25 15:50:55 -0500
commite88b62b34bbd7cd0240a8717ba14f31e1856f832 (patch)
tree2f7eca313bf3ffe8f41a3bec5a561d593c47bb71 /hack
parent1e176923b15360559d859000f2fb0c0a3e30f792 (diff)
downloadpodman-e88b62b34bbd7cd0240a8717ba14f31e1856f832.tar.gz
podman-e88b62b34bbd7cd0240a8717ba14f31e1856f832.tar.bz2
podman-e88b62b34bbd7cd0240a8717ba14f31e1856f832.zip
Fix swagger issue
Add special case for op PlayKubeDownLibpod Heuristic for guessing swagger operation id too limited for PlayKubeDownLibpod Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'hack')
-rwxr-xr-xhack/swagger-check3
1 files changed, 3 insertions, 0 deletions
diff --git a/hack/swagger-check b/hack/swagger-check
index fc280c02d..b4481f5bb 100755
--- a/hack/swagger-check
+++ b/hack/swagger-check
@@ -320,6 +320,9 @@ sub operation_name {
if ($action eq 'df') {
$action = 'dataUsage';
}
+ 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 !~ /\{/) {
$action .= "All";