From 5b5bb38ec2929014566379fd74ea91627ee66b82 Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Mon, 25 Sep 2023 16:54:38 -0700 Subject: [PATCH] Fix updating auto-pause-duration --- cmd/minikube/cmd/start_flags.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/minikube/cmd/start_flags.go b/cmd/minikube/cmd/start_flags.go index 2305003bdd64..e1cda1036de2 100644 --- a/cmd/minikube/cmd/start_flags.go +++ b/cmd/minikube/cmd/start_flags.go @@ -812,6 +812,7 @@ func updateExistingConfigFromFlags(cmd *cobra.Command, existing *config.ClusterC updateStringFromFlag(cmd, &cc.CustomQemuFirmwarePath, qemuFirmwarePath) updateStringFromFlag(cmd, &cc.SocketVMnetClientPath, socketVMnetClientPath) updateStringFromFlag(cmd, &cc.SocketVMnetPath, socketVMnetPath) + updateDurationFromFlag(cmd, &cc.AutoPauseInterval, autoPauseInterval) if cmd.Flags().Changed(kubernetesVersion) { kubeVer, err := getKubernetesVersion(existing)