diff --git a/cli/agent/vault/vault.go b/cli/agent/vault/vault.go index 22bc9be..0db0f38 100644 --- a/cli/agent/vault/vault.go +++ b/cli/agent/vault/vault.go @@ -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, } } @@ -424,7 +424,7 @@ func (vault *Vault) GetLastSynced() int64 { func (vault *Vault) SetWebsocketConnected(connected bool) { vault.lockMutex() - vault.websockedConnected = connected + vault.websocketConnected = connected vault.unlockMutex() } @@ -432,5 +432,5 @@ func (vault *Vault) IsWebsocketConnected() bool { vault.lockMutex() defer vault.unlockMutex() - return vault.websockedConnected + return vault.websocketConnected }