Skip to content

Commit

Permalink
style: rename more instances of same typo
Browse files Browse the repository at this point in the history
  • Loading branch information
iron3oxide committed Jun 27, 2024
1 parent 2bf7543 commit b1e6325
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cli/agent/vault/vault.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func NewVault(keyring *crypto.Keyring) *Vault {
sshKeyNoteIDs: make([]string, 0),
envCredentials: make(map[string]string),
lastSynced: 0,
websockedConnected: false,
websocketConnected: false,
}
}

Expand Down Expand Up @@ -424,13 +424,13 @@ func (vault *Vault) GetLastSynced() int64 {

func (vault *Vault) SetWebsocketConnected(connected bool) {
vault.lockMutex()
vault.websockedConnected = connected
vault.websocketConnected = connected
vault.unlockMutex()
}

func (vault *Vault) IsWebsocketConnected() bool {
vault.lockMutex()
defer vault.unlockMutex()

return vault.websockedConnected
return vault.websocketConnected
}

0 comments on commit b1e6325

Please sign in to comment.