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 75330b4 commit 3c765b5Copy full SHA for 3c765b5
controllers/ipfscluster_controller_test.go
@@ -81,7 +81,7 @@ var _ = Describe("IPFS Reconciler", func() {
81
It("creates a new peer ids", func() {
82
fn, _ := ipfsReconciler.SecretConfig(ctx, ipfs, secretConfig, clusterSec, bootstrapKey)
83
Expect(fn()).To(BeNil())
84
- expectedKeys := replicas * 2
+ expectedKeys := int(replicas) * 2
85
// in the real world, StringData will be copied to Data as part of k8s.
86
// However, we are checking it before it has the opportunity.
87
Expect(len(secretConfig.Data)).To(Equal(alwaysKeys))
0 commit comments