Skip to content

Commit

Permalink
service pkg to use controller-runtime log
Browse files Browse the repository at this point in the history
Signed-off-by: adrianc <adrianc@nvidia.com>
  • Loading branch information
adrianchiris committed Oct 25, 2023
1 parent be054d8 commit ffb562a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/service/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"strings"

"github.com/coreos/go-systemd/v22/unit"
"github.com/golang/glog"
"gopkg.in/yaml.v2"
"sigs.k8s.io/controller-runtime/pkg/log"
)

const systemdDir = "/usr/lib/systemd/system/"
Expand All @@ -30,7 +30,7 @@ OUTER:
continue OUTER
}
}
glog.Infof("DEBUG: %+v %v", optsA, *optB)
log.Log.V(3).Info("CompareServices", "ServiceA", optsA, "ServiceB", *optB)
return true, nil
}

Expand Down

0 comments on commit ffb562a

Please sign in to comment.