chore: fix linter issues.

This commit is contained in:
Xavier Michelon
2024-11-29 15:25:26 +01:00
parent dd2448f35a
commit ef779a23c1
3 changed files with 7 additions and 15 deletions

View File

@ -636,14 +636,6 @@ func loadTLSConfig(vault *vault.Vault) (*tls.Config, error) {
}, nil
}
func min(a, b time.Duration) time.Duration { //nolint:predeclared
if a < b {
return a
}
return b
}
func (bridge *Bridge) HasAPIConnection() bool {
return bridge.api.GetStatus() == proton.StatusUp
}