From 09f07c01dbf68ba206e99c75b54bd892ca75404c Mon Sep 17 00:00:00 2001 From: Paulo Truta Date: Sun, 13 Feb 2022 14:40:04 +0000 Subject: [PATCH] Fixed shorthand command and fixed incomplete func comment --- cmd/edgeboxctl/main.go | 2 +- internal/edgeapps/edgeapps.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/edgeboxctl/main.go b/cmd/edgeboxctl/main.go index 4b9c9fc..fd40a63 100644 --- a/cmd/edgeboxctl/main.go +++ b/cmd/edgeboxctl/main.go @@ -97,7 +97,7 @@ func main() { Subcommands: []*cli.Command{ { Name: "list", - Aliases: []string{"i"}, + Aliases: []string{"l"}, Usage: "list currently installed apps and their status", Action: func(c *cli.Context) error { task := getCommandTask("list_edgeapps", "", true) diff --git a/internal/edgeapps/edgeapps.go b/internal/edgeapps/edgeapps.go index 5a8a792..604e74e 100644 --- a/internal/edgeapps/edgeapps.go +++ b/internal/edgeapps/edgeapps.go @@ -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 { cmdArgs := []string{"-r", ".services | keys[]", utils.GetPath("edgeAppsPath") + ID + configFilename}