Skip to content

Commit

Permalink
Update pkg/cmd/generate/cli_configs.go
Browse files Browse the repository at this point in the history
Co-authored-by: Xavier Coulon <xcoulon@redhat.com>
  • Loading branch information
MatousJobanek and xcoulon authored Apr 17, 2024
1 parent bc6c32f commit 85356a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/generate/cli_configs.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func NewCliConfigsCmd() *cobra.Command {

configDirPath := fmt.Sprintf("%s/src/github.com/kubesaw/ksctl/out/config", os.Getenv("GOPATH"))
command.Flags().StringVarP(&f.outDir, "out-dir", "o", configDirPath, "Directory where generated ksctl.yaml files should be stored")
command.Flags().IntVarP(&f.tokenExpirationDays, "token-expiration-days", "e", 365, "Expiration time of the ServiceAccount tokens in number of days")
command.Flags().IntVarP(&f.tokenExpirationDays, "token-expiration-days", "e", 365, "Expiration time of the ServiceAccount tokens in days")

Check warning on line 55 in pkg/cmd/generate/cli_configs.go

View check run for this annotation

Codecov / codecov/patch

pkg/cmd/generate/cli_configs.go#L55

Added line #L55 was not covered by tests

defaultKubeconfigPath := ""
if home := homedir.HomeDir(); home != "" {
Expand Down

0 comments on commit 85356a0

Please sign in to comment.