aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_collection_delete.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-09-20 08:47:30 -0700
committerChris Lu <chris.lu@gmail.com>2020-09-20 08:47:30 -0700
commitfcbc520373eb0602f53f60d997f819505749191c (patch)
tree2013153cb666f4cfdf9806cb44b506e9d7b911ac /weed/shell/command_collection_delete.go
parent56094541c8279b34e807aa4fefd2de6a477297de (diff)
downloadseaweedfs-fcbc520373eb0602f53f60d997f819505749191c.tar.xz
seaweedfs-fcbc520373eb0602f53f60d997f819505749191c.zip
fix print out
Diffstat (limited to 'weed/shell/command_collection_delete.go')
-rw-r--r--weed/shell/command_collection_delete.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/shell/command_collection_delete.go b/weed/shell/command_collection_delete.go
index 56eaba576..28b9cebbd 100644
--- a/weed/shell/command_collection_delete.go
+++ b/weed/shell/command_collection_delete.go
@@ -41,7 +41,7 @@ func (c *commandCollectionDelete) Do(args []string, commandEnv *CommandEnv, writ
}
if !*applyBalancing {
- fmt.Fprintf(writer, "collection %s will be deleted. Use -force to apply the change.\n", collectionName)
+ fmt.Fprintf(writer, "collection %s will be deleted. Use -force to apply the change.\n", *collectionName)
return nil
}
@@ -55,7 +55,7 @@ func (c *commandCollectionDelete) Do(args []string, commandEnv *CommandEnv, writ
return
}
- fmt.Fprintf(writer, "collection %s is deleted.\n", collectionName)
+ fmt.Fprintf(writer, "collection %s is deleted.\n", *collectionName)
return nil
}