Skip to content
This repository has been archived by the owner on Sep 24, 2021. It is now read-only.

Commit

Permalink
fix manager arguments
Browse files Browse the repository at this point in the history
Signed-off-by: Chuck Ha <chuckh@vmware.com>
  • Loading branch information
chuckha committed Jul 17, 2019
1 parent 6c5172b commit aa44edf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmd/capd-manager/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import (

func main() {
// Must set up klog for the cluster api loggers
klog.InitFlags(flag.CommandLine)
klog.InitFlags(nil)
flag.Parse()

log := klogr.New()
Expand Down
6 changes: 2 additions & 4 deletions objects/control_plane.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,8 @@ func GetStatefulSet(image string) apps.StatefulSet {
{
Name: "capd-manager",
Image: image,
Command: []string{
"capd-manager",
"-v=3",
"-logtostderr=true",
Args: []string{
"-v", "3",
},
VolumeMounts: []core.VolumeMount{
{
Expand Down

0 comments on commit aa44edf

Please sign in to comment.