Fixed shorthand command and fixed incomplete func comment
parent
9eb47f3248
commit
09f07c01db
|
@ -97,7 +97,7 @@ func main() {
|
||||||
Subcommands: []*cli.Command{
|
Subcommands: []*cli.Command{
|
||||||
{
|
{
|
||||||
Name: "list",
|
Name: "list",
|
||||||
Aliases: []string{"i"},
|
Aliases: []string{"l"},
|
||||||
Usage: "list currently installed apps and their status",
|
Usage: "list currently installed apps and their status",
|
||||||
Action: func(c *cli.Context) error {
|
Action: func(c *cli.Context) error {
|
||||||
task := getCommandTask("list_edgeapps", "", true)
|
task := getCommandTask("list_edgeapps", "", true)
|
||||||
|
|
|
@ -236,7 +236,7 @@ func GetEdgeAppStatus(ID string) EdgeAppStatus {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetEdgeAppServices : Returns a
|
// GetEdgeAppServices : Returns a list of services for a single edgeapp
|
||||||
func GetEdgeAppServices(ID string) []EdgeAppService {
|
func GetEdgeAppServices(ID string) []EdgeAppService {
|
||||||
|
|
||||||
cmdArgs := []string{"-r", ".services | keys[]", utils.GetPath("edgeAppsPath") + ID + configFilename}
|
cmdArgs := []string{"-r", ".services | keys[]", utils.GetPath("edgeAppsPath") + ID + configFilename}
|
||||||
|
|
Loading…
Reference in New Issue