address comments from @Wonderflow

This commit is contained in:
zzxwill
2020-08-03 21:21:14 +08:00
parent d1b8fc214c
commit a81b383be0

View File

@@ -3,6 +3,7 @@ package cmd
import (
"context"
"fmt"
"os"
"strings"
cmdutil "github.com/cloud-native-application/rudrx/pkg/cmd/util"
@@ -23,6 +24,7 @@ func NewAppsCommand(f cmdutil.Factory, c client.Client, ioStreams cmdutil.IOStre
env, err := GetEnv()
if err != nil {
ioStreams.Errorf("Failed to get Env information:%s", err)
os.Exit(1)
}
printApplicationList(ctx, c, "", env.Namespace)
},