Skip to content

Commit

Permalink
Post review updates
Browse files Browse the repository at this point in the history
  • Loading branch information
benashz committed May 22, 2024
1 parent d4ae775 commit 145b47a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion controllers/registry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,6 @@ func Test_resourceReferenceCache(t *testing.T) {
}

func TestSyncRegistry(t *testing.T) {
t.Skip()
t.Parallel()

objKey1 := client.ObjectKey{
Expand Down
4 changes: 2 additions & 2 deletions controllers/vaultdynamicsecret_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ func (r *VaultDynamicSecretReconciler) awaitVaultSecretRotation(ctx context.Cont
)

bo := backoff.NewExponentialBackOff(
// typically the rotation period is 5s, so it should be safe to double that.
// the minimum rotation period is 5s, so it should be safe to double that.
// Ideally we could use the rotation's TTL value here, but that value is not
// considered to be reliable to the TTL roll-over bug that might exist in the database
// secrets engine.
Expand Down Expand Up @@ -893,7 +893,7 @@ func vaultStaticCredsMetaDataFromData(data map[string]any) (*secretsv1beta1.Vaul
}

if v, ok := data["rotation_schedule"]; ok && v != nil {
if schedule, ok := v.(string); ok && v != nil {
if schedule, ok := v.(string); ok {
ret.RotationSchedule = schedule
}
}
Expand Down

0 comments on commit 145b47a

Please sign in to comment.