Skip to content

Commit 9b59006

Browse files
author
Rahul Sharma
committed
fix updating token after rebasing from PR #507
1 parent 67684e9 commit 9b59006

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cloud/scope/machine.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,5 +172,6 @@ func (s *MachineScope) SetCredentialRefTokenForLinodeClients(ctx context.Context
172172
return fmt.Errorf("credentials from secret ref: %w", err)
173173
}
174174
s.LinodeClient = s.LinodeClient.SetToken(string(apiToken))
175+
s.TokenHash = GetHash(string(apiToken))
175176
return nil
176177
}

0 commit comments

Comments
 (0)