Skip to content

Commit 3c765b5

Browse files
author
Cory Schwartz
committed
int
1 parent 75330b4 commit 3c765b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/ipfscluster_controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ var _ = Describe("IPFS Reconciler", func() {
8181
It("creates a new peer ids", func() {
8282
fn, _ := ipfsReconciler.SecretConfig(ctx, ipfs, secretConfig, clusterSec, bootstrapKey)
8383
Expect(fn()).To(BeNil())
84-
expectedKeys := replicas * 2
84+
expectedKeys := int(replicas) * 2
8585
// in the real world, StringData will be copied to Data as part of k8s.
8686
// However, we are checking it before it has the opportunity.
8787
Expect(len(secretConfig.Data)).To(Equal(alwaysKeys))

0 commit comments

Comments
 (0)