mirror of
https://github.com/dokku/dokku.git
synced 2026-02-24 04:00:36 +01:00
fix: correct the scope on the token
This commit is contained in:
@@ -132,7 +132,7 @@ func CommandInitialize(serverIP string, taintScheduling bool) error {
|
||||
return fmt.Errorf("Unable to generate random node name: %w", err)
|
||||
}
|
||||
|
||||
token := strings.ToLower(fmt.Sprintf("%X", b))
|
||||
token = strings.ToLower(fmt.Sprintf("%X", b))
|
||||
if err := CommandSet("--global", "token", token); err != nil {
|
||||
return fmt.Errorf("Unable to set k3s token: %w", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user