mirror of
https://github.com/kubernetes/sample-controller.git
synced 2026-04-12 00:00:26 +08:00
Merge pull request #63448 from dims/automated-cherry-pick-of-#62505-upstream-release-1.10
Automatic merge from submit-queue. Automated cherry pick of #62505: update godeps to use latest pflag Cherry pick of #62505 on release-1.10. #62505: update godeps to use latest pflag ```release-note Show help for deprecated Kubelet flags ``` Kubernetes-commit: 8959a0aa87adf07c4ff821bf6d79714b3d615e8a
This commit is contained in:
+4
@@ -98,4 +98,8 @@ func (f *FlagSet) AddGoFlagSet(newSet *goflag.FlagSet) {
|
||||
newSet.VisitAll(func(goflag *goflag.Flag) {
|
||||
f.AddGoFlag(goflag)
|
||||
})
|
||||
if f.addedGoFlagSets == nil {
|
||||
f.addedGoFlagSets = make([]*goflag.FlagSet, 0)
|
||||
}
|
||||
f.addedGoFlagSets = append(f.addedGoFlagSets, newSet)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user