Skip to content

Commit

Permalink
Add lastsynced and websocket status to vault status
Browse files Browse the repository at this point in the history
  • Loading branch information
quexten committed Dec 26, 2023
1 parent 4dd2d33 commit c862a1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions agent/actions/vault.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@ func handleVaultStatus(request messages.IPCMessage, cfg *config.Config, vault *v
vaultStatus.Locked = cfg.IsLocked()
vaultStatus.NumberOfLogins = len(vault.GetLogins())
vaultStatus.NumberOfNotes = len(vault.GetNotes())
vaultStatus.LastSynced = vault.GetLastSynced()

Check failure on line 193 in agent/actions/vault.go

View workflow job for this annotation

GitHub Actions / build_macos_x86_64

vaultStatus.LastSynced undefined (type messages.VaultStatusResponse has no field or method LastSynced)

Check failure on line 193 in agent/actions/vault.go

View workflow job for this annotation

GitHub Actions / build_macos_x86_64

vault.GetLastSynced undefined (type *vault.Vault has no field or method GetLastSynced)

Check failure on line 193 in agent/actions/vault.go

View workflow job for this annotation

GitHub Actions / build_linux_arm64

vaultStatus.LastSynced undefined (type messages.VaultStatusResponse has no field or method LastSynced)

Check failure on line 193 in agent/actions/vault.go

View workflow job for this annotation

GitHub Actions / build_linux_arm64

vault.GetLastSynced undefined (type *vault.Vault has no field or method GetLastSynced)

Check failure on line 193 in agent/actions/vault.go

View workflow job for this annotation

GitHub Actions / build_linux_x86_64

vaultStatus.LastSynced undefined (type messages.VaultStatusResponse has no field or method LastSynced)

Check failure on line 193 in agent/actions/vault.go

View workflow job for this annotation

GitHub Actions / build_linux_x86_64

vault.GetLastSynced undefined (type *vault.Vault has no field or method GetLastSynced)

Check failure on line 193 in agent/actions/vault.go

View workflow job for this annotation

GitHub Actions / build_linux_x86

vaultStatus.LastSynced undefined (type messages.VaultStatusResponse has no field or method LastSynced)

Check failure on line 193 in agent/actions/vault.go

View workflow job for this annotation

GitHub Actions / build_linux_x86

vault.GetLastSynced undefined (type *vault.Vault has no field or method GetLastSynced)

Check failure on line 193 in agent/actions/vault.go

View workflow job for this annotation

GitHub Actions / build_windows_x86_64

vaultStatus.LastSynced undefined (type messages.VaultStatusResponse has no field or method LastSynced)

Check failure on line 193 in agent/actions/vault.go

View workflow job for this annotation

GitHub Actions / build_windows_x86_64

vault.GetLastSynced undefined (type *vault.Vault has no field or method GetLastSynced)
vaultStatus.WebsockedConnected = vault.IsWebsocketConnected()

Check failure on line 194 in agent/actions/vault.go

View workflow job for this annotation

GitHub Actions / build_macos_x86_64

vaultStatus.WebsockedConnected undefined (type messages.VaultStatusResponse has no field or method WebsockedConnected)

Check failure on line 194 in agent/actions/vault.go

View workflow job for this annotation

GitHub Actions / build_macos_x86_64

vault.IsWebsocketConnected undefined (type *vault.Vault has no field or method IsWebsocketConnected)

Check failure on line 194 in agent/actions/vault.go

View workflow job for this annotation

GitHub Actions / build_linux_arm64

vaultStatus.WebsockedConnected undefined (type messages.VaultStatusResponse has no field or method WebsockedConnected)

Check failure on line 194 in agent/actions/vault.go

View workflow job for this annotation

GitHub Actions / build_linux_arm64

vault.IsWebsocketConnected undefined (type *vault.Vault has no field or method IsWebsocketConnected)

Check failure on line 194 in agent/actions/vault.go

View workflow job for this annotation

GitHub Actions / build_linux_x86_64

vaultStatus.WebsockedConnected undefined (type messages.VaultStatusResponse has no field or method WebsockedConnected)

Check failure on line 194 in agent/actions/vault.go

View workflow job for this annotation

GitHub Actions / build_linux_x86_64

vault.IsWebsocketConnected undefined (type *vault.Vault has no field or method IsWebsocketConnected)

Check failure on line 194 in agent/actions/vault.go

View workflow job for this annotation

GitHub Actions / build_linux_x86

vaultStatus.WebsockedConnected undefined (type messages.VaultStatusResponse has no field or method WebsockedConnected)

Check failure on line 194 in agent/actions/vault.go

View workflow job for this annotation

GitHub Actions / build_linux_x86

vault.IsWebsocketConnected undefined (type *vault.Vault has no field or method IsWebsocketConnected)

Check failure on line 194 in agent/actions/vault.go

View workflow job for this annotation

GitHub Actions / build_windows_x86_64

vaultStatus.WebsockedConnected undefined (type messages.VaultStatusResponse has no field or method WebsockedConnected)

Check failure on line 194 in agent/actions/vault.go

View workflow job for this annotation

GitHub Actions / build_windows_x86_64

vault.IsWebsocketConnected undefined (type *vault.Vault has no field or method IsWebsocketConnected)
response, err = messages.IPCMessageFromPayload(vaultStatus)
return
}
Expand Down

0 comments on commit c862a1a

Please sign in to comment.