mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-27 23:40:41 +01:00
fix print out
This commit is contained in:
1 parent
56094541c8
commit
fcbc520373
1 file changed
+2
-2
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user