refactor: drop unused function, rename GetAppsNames

This commit is contained in:
2021-09-08 13:43:55 +02:00
parent 4c216fdf40
commit cf2653fef8
6 changed files with 8 additions and 30 deletions

View File

@ -111,7 +111,7 @@ var appLogsCommand = &cli.Command{
return nil
},
BashComplete: func(c *cli.Context) {
appNames, err := config.GetAppsNames()
appNames, err := config.GetAppNames()
if err != nil {
return
}

View File

@ -57,7 +57,7 @@ var appPsCommand = &cli.Command{
return nil
},
BashComplete: func(c *cli.Context) {
appNames, err := config.GetAppsNames()
appNames, err := config.GetAppNames()
if err != nil {
return
}

View File

@ -156,7 +156,7 @@ var appRemoveCommand = &cli.Command{
return nil
},
BashComplete: func(c *cli.Context) {
appNames, err := config.GetAppsNames()
appNames, err := config.GetAppNames()
if err != nil {
return
}

View File

@ -38,7 +38,7 @@ volumes as eligiblef or pruning once undeployed.
return nil
},
BashComplete: func(c *cli.Context) {
appNames, err := config.GetDeployedApps()
appNames, err := config.GetAppNames()
if err != nil {
return
}

View File

@ -84,7 +84,7 @@ var appVolumeRemoveCommand = &cli.Command{
return nil
},
BashComplete: func(c *cli.Context) {
appNames, err := config.GetAppsNames()
appNames, err := config.GetAppNames()
if err != nil {
return
}