Browse Source

Use version.Program not K3s in log (#8653)

Signed-off-by: Derek Nola <derek.nola@suse.com>
pull/8667/head
Derek Nola 1 year ago committed by GitHub
parent
commit
aaf8409096
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/cli/token/token.go

2
pkg/cli/token/token.go

@ -165,7 +165,7 @@ func Rotate(app *cli.Context) error {
}
// wait for etcd db propagation delay
time.Sleep(1 * time.Second)
fmt.Println("Token rotated, restart k3s with new token")
fmt.Println("Token rotated, restart", version.Program, "nodes with new token")
return nil
}

Loading…
Cancel
Save