Make Listjails and Stopjails public to differentiate from internal functions
This commit is contained in:
parent
f90de63f87
commit
8fdd0ffbce
@ -47,7 +47,7 @@ It support iocage jails and can coexist with iocage.`,
|
||||
Jail list can be restricted by adding name on command line
|
||||
ex: gocage list srv-db srv-web`,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
listJails(args, true)
|
||||
ListJails(args, true)
|
||||
},
|
||||
}
|
||||
|
||||
@ -57,8 +57,8 @@ ex: gocage list srv-db srv-web`,
|
||||
Long: `shutdown jail`,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
// Get the inventory
|
||||
listJails(args, false)
|
||||
stopJail(args)
|
||||
ListJails(args, false)
|
||||
StopJail(args)
|
||||
},
|
||||
}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user