We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19a1981 commit ff08ff5Copy full SHA for ff08ff5
core/routemgmt/common/apigw-utils.js
@@ -853,7 +853,8 @@ function updateNamespace(apidoc, namespace) {
853
if (apidoc.action) {
854
// The action namespace does not have to match the CLI user's namespace
855
// If it is different, leave it alone; otherwise use the replacement namespace
856
- if (apidoc.namespace === apidoc.action.namespace) {
+ // And only replace when the namespace is the default '_' which needs replacement
857
+ if (apidoc.action.namespace === '_') {
858
apidoc.action.namespace = namespace;
859
apidoc.action.backendUrl = replaceNamespaceInUrl(apidoc.action.backendUrl, namespace); }
860
}
0 commit comments