Skip to content

Commit 1aacda6

Browse files
Fixed CDN namespace error on plugin install. Fixed #916
1 parent 1b2ce7b commit 1aacda6

2 files changed

Lines changed: 1 addition & 10 deletions

File tree

plugin/commands/cdn/cdn.go

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package cdn
22

33
import (
4-
"github.com/IBM-Cloud/ibm-cloud-cli-sdk/plugin"
4+
55
"github.com/spf13/cobra"
66

77
. "github.ibm.com/SoftLayer/softlayer-cli/plugin/i18n"
@@ -18,11 +18,3 @@ func SetupCobraCommands(sl *metadata.SoftlayerCommand) *cobra.Command {
1818

1919
return cobraCmd
2020
}
21-
22-
func CdnNamespace() plugin.Namespace {
23-
return plugin.Namespace{
24-
ParentName: "sl",
25-
Name: "cdn",
26-
Description: T("Classic infrastructure CDN commands" + " " + T("Deprecated")),
27-
}
28-
}

plugin/plugin.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@ func Namespaces() []plugin.Namespace {
231231
metadata.SoftlayerNamespace(),
232232
block.BlockNamespace(),
233233
file.FileNamespace(),
234-
cdn.CdnNamespace(),
235234
dns.DnsNamespace(),
236235
eventlog.EventLogNamespace(),
237236
firewall.FirewallNamespace(),

0 commit comments

Comments
 (0)