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

Signed-off-by: Derek Nola <derek.nola@suse.com>
pull/8662/head
Derek Nola 2023-10-16 12:26:27 -07:00 committed by GitHub
parent 78e57bc970
commit 40f29507c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ func Rotate(app *cli.Context) error {
} }
// wait for etcd db propagation delay // wait for etcd db propagation delay
time.Sleep(1 * time.Second) 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 return nil
} }