You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add run.CommandOptions.ProfileName and use it to replace most of the
following calls outside of cmd:
- viper.GetString("profile")
- viper.GetString(config.ProfileName)
The ProfileName constant is in minikube/config package, so we use the
existing constants instead of adding cmd/flags.ProfileName.
This is change is little bit bigger because the existing code was more
messy and the profile name is used in many places.
Issues:
- This change may break tests using viper.Set() to change the profile.
- minikube/provision package is still using
viper.GetString(config.ProfileName). More work needed to remove this.
// SelectAndPersistImages selects which images to use based on addon default images, previously persisted images, and newly requested images - which are then persisted for future enables.
0 commit comments