File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ func (m *SyncableConfig) Get() string {
116116func main () {
117117 flags := Flags {}
118118
119- c := cli .NewApp ()
119+ c := cli.Command {}
120120 c .Before = func (c * cli.Context ) error {
121121 return validateFlags (c , & flags )
122122 }
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ type Config struct {
4040func main () {
4141 config := & Config {}
4242
43- c := cli .NewApp ()
43+ c := cli.Command {}
4444 c .Name = "GPU Feature Discovery"
4545 c .Usage = "generate labels for NVIDIA devices"
4646 c .Version = info .GetVersionString ()
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ type Config struct {
5151func main () {
5252 config := & Config {}
5353
54- c := cli .NewApp ()
54+ c := cli.Command {}
5555 c .Name = "NVIDIA MPS Control Daemon"
5656 c .Version = info .GetVersionString ()
5757 c .Action = func (ctx * cli.Context ) error {
Original file line number Diff line number Diff line change @@ -47,8 +47,9 @@ type options struct {
4747}
4848
4949func main () {
50- c := cli .NewApp ()
5150 o := & options {}
51+
52+ c := cli.Command {}
5253 c .Name = "NVIDIA Device Plugin"
5354 c .Usage = "NVIDIA device plugin for Kubernetes"
5455 c .Version = info .GetVersionString ()
You can’t perform that action at this time.
0 commit comments