mirror of
https://github.com/containers/podman.git
synced 2025-07-02 00:30:00 +08:00
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>
This commit is contained in:
@ -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";
|
||||
|
Reference in New Issue
Block a user