aboutsummaryrefslogtreecommitdiffstats
path: root/src/tools/emcoctl/cmd/utils.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/emcoctl/cmd/utils.go')
-rw-r--r--src/tools/emcoctl/cmd/utils.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/emcoctl/cmd/utils.go b/src/tools/emcoctl/cmd/utils.go
index d266a00f..5e063d12 100644
--- a/src/tools/emcoctl/cmd/utils.go
+++ b/src/tools/emcoctl/cmd/utils.go
@@ -332,7 +332,7 @@ func GetURL(anchor string) (string, error) {
baseUrl = GetDcmURL()
break
}
- if len(s) >= 6 && s[5] == "network-controller-intent" {
+ if len(s) >= 8 && s[7] == "network-controller-intent" {
baseUrl = GetOvnactionURL()
break
}