Skip to content

Commit 49e6f2d

Browse files
author
JojiiOfficial
committed
you should compile first
1 parent 6d9fa36 commit 49e6f2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

commands/Namespace.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ var (
1515

1616
// CreateNamespace creates a namespace
1717
func CreateNamespace(cData *CommandData, name string, customNS bool) {
18-
createResponse, err := cData.LibDM.CreateNamespace(name, customNS)
18+
createResponse, err := cData.LibDM.CreateNamespace(name)
1919
if err != nil {
2020
printResponseError(err, "creating namespace")
2121
return
@@ -26,7 +26,7 @@ func CreateNamespace(cData *CommandData, name string, customNS bool) {
2626

2727
// UpdateNamespace update a namespace
2828
func UpdateNamespace(cData *CommandData, name, newName string, customNS bool) {
29-
updateResponse, err := cData.LibDM.UpdateNamespace(name, newName, customNS)
29+
updateResponse, err := cData.LibDM.UpdateNamespace(name, newName)
3030
if err != nil {
3131
printResponseError(err, "updating namespace")
3232
return

0 commit comments

Comments
 (0)