mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Don't use an interface{} where a string will do.
This commit is contained in:
parent
13d2b08638
commit
887f509d1d
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ func (srv *Server) Name() string {
|
|||
// FIXME: Stop violating DRY by repeating usage here and in Subcmd declarations
|
||||
func (srv *Server) Help() string {
|
||||
help := "Usage: docker COMMAND [arg...]\n\nA self-sufficient runtime for linux containers.\n\nCommands:\n"
|
||||
for _, cmd := range [][]interface{}{
|
||||
for _, cmd := range [][]string{
|
||||
{"attach", "Attach to a running container"},
|
||||
{"commit", "Create a new image from a container's changes"},
|
||||
{"diff", "Inspect changes on a container's filesystem"},
|
||||
|
|
Loading…
Add table
Reference in a new issue