Skip to content

Commit

Permalink
backport PSS and PKI delete fix
Browse files Browse the repository at this point in the history
  • Loading branch information
whites11 committed Apr 23, 2024
1 parent 254e5c8 commit 273e18f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions service/collector/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ import (
// This error should never be matched against and therefore there is no matcher
// implement. For further information see:
//
// https://github.com/giantswarm/fmt/blob/master/go/errors.md#matching-errors
//
// https://github.com/giantswarm/fmt/blob/master/go/errors.md#matching-errors
var executionFailedError = &microerror.Error{
Kind: "executionFailedError",
}
Expand All @@ -36,8 +35,7 @@ var vaultAccessError = &microerror.Error{
// temporarily replies with HTTP responses. In such cases we intend to cancel
// collection and wait until Vault is fully operational again.
//
// Get https://vault.g8s.foo.bar:8200/v1/sys/mounts: http: server gave HTTP response to HTTPS client
//
// Get https://vault.g8s.foo.bar:8200/v1/sys/mounts: http: server gave HTTP response to HTTPS client
func IsVaultAccess(err error) bool {
if err == nil {
return false
Expand Down
3 changes: 1 addition & 2 deletions service/controller/resources/vaultaccess/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ var vaultAccessError = &microerror.Error{
// temporarily replies with HTTP responses. In such cases we intend to cancel
// reconciliation and wait until Vault is fully operational again.
//
// Get https://vault.g8s.amag.ch:8200/v1/sys/mounts: http: server gave HTTP response to HTTPS client
//
// Get https://vault.g8s.amag.ch:8200/v1/sys/mounts: http: server gave HTTP response to HTTPS client
func IsVaultAccess(err error) bool {
if err == nil {
return false
Expand Down

0 comments on commit 273e18f

Please sign in to comment.