mirror of
https://github.com/chrislusf/seaweedfs
synced 2024-07-01 06:40:45 +02:00
fix print out
This commit is contained in:
parent
56094541c8
commit
fcbc520373
|
@ -41,7 +41,7 @@ func (c *commandCollectionDelete) Do(args []string, commandEnv *CommandEnv, writ
|
||||||
}
|
}
|
||||||
|
|
||||||
if !*applyBalancing {
|
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
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ func (c *commandCollectionDelete) Do(args []string, commandEnv *CommandEnv, writ
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Fprintf(writer, "collection %s is deleted.\n", collectionName)
|
fmt.Fprintf(writer, "collection %s is deleted.\n", *collectionName)
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue