Skip to content

Commit

Permalink
actually return token
Browse files Browse the repository at this point in the history
  • Loading branch information
laverya committed Oct 18, 2023
1 parent 73cd861 commit dbf5a2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/store/kotsstore/k0s_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func (s *KOTSStore) SetK0sInstallCommandRoles(roles []string) (string, error) {
return "", fmt.Errorf("insert k0s join token: %v: %v", err, wr.Err)
}

return "", nil
return installID, nil
}

func (s *KOTSStore) GetK0sInstallCommandRoles(token string) ([]string, error) {
Expand Down

0 comments on commit dbf5a2f

Please sign in to comment.