We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3edf993 + e9bd925 commit 3a8da35Copy full SHA for 3a8da35
1 file changed
cmd/install.go
@@ -41,8 +41,9 @@ Dependent on your relationship with 23T you will be charged for using 23KE.
41
`,
42
RunE: func(cmd *cobra.Command, args []string) error {
43
// todo check required flags
44
+ viper.SetEnvPrefix("23KECTL_")
45
err := viper.ReadInConfig()
- if (err != nil && !errors.Is(err, fs.ErrNotExist)) {
46
+ if err != nil && !errors.Is(err, fs.ErrNotExist) {
47
fmt.Print(err)
48
return err
49
}
0 commit comments