Skip to content

Commit

Permalink
Update where the WordSepNormalizeFunc comes from
Browse files Browse the repository at this point in the history
  • Loading branch information
eparis committed May 10, 2016
1 parent 7753451 commit 5764e67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mungegithub/example-one-off/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"github.com/spf13/cobra"

"k8s.io/contrib/mungegithub/github"
"k8s.io/kubernetes/pkg/util"
utilflag "k8s.io/kubernetes/pkg/util/flag"
)

// MungeIssue is the real worker. It is called for every open github Issue
Expand Down Expand Up @@ -54,7 +54,7 @@ func main() {
return nil
},
}
root.SetGlobalNormalizationFunc(util.WordSepNormalizeFunc)
root.SetGlobalNormalizationFunc(utilflag.WordSepNormalizeFunc)
config.AddRootFlags(root)
root.Execute()
}
4 changes: 2 additions & 2 deletions mungegithub/mungegithub.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
github_util "k8s.io/contrib/mungegithub/github"
"k8s.io/contrib/mungegithub/mungers"
"k8s.io/contrib/mungegithub/reports"
"k8s.io/kubernetes/pkg/util"
utilflag "k8s.io/kubernetes/pkg/util/flag"

"github.com/golang/glog"
"github.com/spf13/cobra"
Expand Down Expand Up @@ -106,7 +106,7 @@ func main() {
return doMungers(config)
},
}
root.SetGlobalNormalizationFunc(util.WordSepNormalizeFunc)
root.SetGlobalNormalizationFunc(utilflag.WordSepNormalizeFunc)
config.AddRootFlags(root)
addMungeFlags(config, root)
config.Features.AddFlags(root)
Expand Down

0 comments on commit 5764e67

Please sign in to comment.