Explorar o código

Fix gofmt alignment in stackit provider test (#3848)

Signed-off-by: Cliff Colvin <clifford.colvin@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Cliff Colvin hai 1 semana
pai
achega
32c3eb0973
Modificáronse 1 ficheiros con 5 adicións e 5 borrados
  1. 5 5
      pkg/cloud/stackit/provider_test.go

+ 5 - 5
pkg/cloud/stackit/provider_test.go

@@ -18,8 +18,8 @@ func TestNodePricing(t *testing.T) {
 	}, nil)
 	}, nil)
 
 
 	key := &stackitKey{Labels: map[string]string{
 	key := &stackitKey{Labels: map[string]string{
-		"node.kubernetes.io/instance-type":        "g2i.4",
-		"topology.kubernetes.io/zone":             "eu01-3",
+		"node.kubernetes.io/instance-type": "g2i.4",
+		"topology.kubernetes.io/zone":      "eu01-3",
 	}}
 	}}
 
 
 	node, _, err := s.NodePricing(key)
 	node, _, err := s.NodePricing(key)
@@ -135,7 +135,7 @@ func TestGpuPricingUnknownInstance(t *testing.T) {
 func TestPVPricingExactMatch(t *testing.T) {
 func TestPVPricingExactMatch(t *testing.T) {
 	s := newTestProvider(nil, map[string]*pimStoragePricing{
 	s := newTestProvider(nil, map[string]*pimStoragePricing{
 		"storage_premium_perf2": {CostPerGBHr: "0.0005"},
 		"storage_premium_perf2": {CostPerGBHr: "0.0005"},
-		"default":              {CostPerGBHr: "0.0001"},
+		"default":               {CostPerGBHr: "0.0001"},
 	})
 	})
 
 
 	pvk := &stackitPVKey{StorageClassName: "storage_premium_perf2"}
 	pvk := &stackitPVKey{StorageClassName: "storage_premium_perf2"}
@@ -181,8 +181,8 @@ func TestPVPricingNoPricing(t *testing.T) {
 
 
 func TestStackitKeyFeatures(t *testing.T) {
 func TestStackitKeyFeatures(t *testing.T) {
 	key := &stackitKey{Labels: map[string]string{
 	key := &stackitKey{Labels: map[string]string{
-		"node.kubernetes.io/instance-type":    "g2i.4",
-		"topology.kubernetes.io/zone":         "eu01-3",
+		"node.kubernetes.io/instance-type": "g2i.4",
+		"topology.kubernetes.io/zone":      "eu01-3",
 	}}
 	}}
 
 
 	features := key.Features()
 	features := key.Features()