We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9d56e1 commit b93a625Copy full SHA for b93a625
controllers/secret.go
@@ -66,7 +66,7 @@ func (r *IpfsReconciler) secretConfig(
66
if numIdentities != m.Spec.Replicas {
67
// create more identities if needed, otherwise they will be reused
68
// when scaling down and then up again
69
- if int(numIdentities) < int(m.Spec.Replicas) {
+ if numIdentities < m.Spec.Replicas {
70
// create more
71
err = generateNewIdentities(expectedSecret, numIdentities, m.Spec.Replicas)
72
if err != nil {
0 commit comments