Skip to content

Commit c54a3c7

Browse files
committed
Fix integer format specifiers
%q isn't appropriate for integers (flagged by Go 1.26 govet). Signed-off-by: Stephen Kitt <skitt@redhat.com>
1 parent d2b2f5b commit c54a3c7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/packetfilter/fake/packetfilter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ func (i *PacketFilter) createChainIfNotExists(table uint32, chain string) error
191191
}
192192

193193
if err != nil {
194-
return errors.Wrapf(err, "error finding IP table chain %q in table %q", chain, table)
194+
return errors.Wrapf(err, "error finding IP table chain %q in table %d", chain, table)
195195
}
196196

197197
i.addChainsFor(table, chain)

test/e2e/cluster/add_remove_cluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var _ = PDescribe("[expansion] Test expanding/shrinking an existing cluster flee
3939
framework.By(fmt.Sprintf("Verifying no GW nodes are present on cluster %q", clusterCName))
4040

4141
gatewayNode := framework.FindGatewayNodes(ctx, framework.ClusterC)
42-
Expect(gatewayNode).To(BeEmpty(), fmt.Sprintf("Expected no gateway node on %q", framework.ClusterC))
42+
Expect(gatewayNode).To(BeEmpty(), fmt.Sprintf("Expected no gateway node on cluster %d", framework.ClusterC))
4343

4444
framework.By(fmt.Sprintf("Verifying that a pod in cluster %q cannot connect to a pod in cluster %q", clusterAName, clusterCName))
4545
tcp.RunNoConnectivityTest(ctx, &tcp.ConnectivityTestParams{

0 commit comments

Comments
 (0)