Skip to content

Commit 67c8733

Browse files
committed
remove labels casting
1 parent 06cecfa commit 67c8733

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

pkg/stackit/client/labels_test.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package client
33
import (
44
. "github.com/onsi/ginkgo/v2"
55
. "github.com/onsi/gomega"
6-
"github.com/stackitcloud/cloud-provider-stackit/pkg/stackit/client"
76
)
87

98
var _ = Describe("Labels", func() {
@@ -14,7 +13,7 @@ var _ = Describe("Labels", func() {
1413
"key2": "value2",
1514
}
1615

17-
labels := client.LabelsFromTags(tags)
16+
labels := LabelsFromTags(tags)
1817

1918
Expect(labels).To(HaveKeyWithValue("key1", "value1"))
2019
Expect(labels).To(HaveKeyWithValue("key2", "value2"))
@@ -23,15 +22,15 @@ var _ = Describe("Labels", func() {
2322
It("should handle empty tags", func() {
2423
tags := map[string]string{}
2524

26-
labels := client.LabelsFromTags(tags)
25+
labels := LabelsFromTags(tags)
2726

2827
Expect(labels).To(BeEmpty())
2928
})
3029

3130
It("should handle nil tags", func() {
3231
var tags map[string]string
3332

34-
labels := client.LabelsFromTags(tags)
33+
labels := LabelsFromTags(tags)
3534

3635
Expect(labels).To(BeEmpty())
3736
})

0 commit comments

Comments
 (0)