Skip to content

Commit

Permalink
make names consistent - auto-pause-interval
Browse files Browse the repository at this point in the history
  • Loading branch information
wzslr321 committed Aug 16, 2023
1 parent 45c3a40 commit 18dcacd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/minikube/cmd/config/configure.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,11 +257,11 @@ var addonsConfigureCmd = &cobra.Command{
out.ErrT(style.Fatal, "Failed to configure registry-aliases {{.profile}}", out.V{"profile": profile})
}
}
case "auto-pause":
case "auto-pause-interval":
profile := ClusterFlagValue()
_, cfg := mustload.Partial(profile)

intervalInput := AskForStaticValue("-- Enter interval time of auto-pause (in minutes): ")
intervalInput := AskForStaticValue("-- Enter interval time of auto-pause-interval (in minutes): ")
intervalTime, err := strconv.Atoi(intervalInput)
if err != nil {
out.ErrT(style.Fatal, "Failed to extract integer in minutes to pause.")
Expand Down

0 comments on commit 18dcacd

Please sign in to comment.