Skip to content

Commit 09f06ca

Browse files
committed
fix(lint) use new instead of unimported utils after merging main
1 parent 9f6abb3 commit 09f06ca

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stackit/internal/services/sfs/sfs_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,12 +186,12 @@ resource "stackit_sfs_resource_pool" "resourcepool" {
186186
s.Reset(testutil.MockResponse{
187187
StatusCode: http.StatusBadRequest,
188188
ToJsonBody: sfs.ValidationError{
189-
Type: utils.Ptr("storage.stackit.cloud/validation-error"),
190-
Title: utils.Ptr("Validation Failed"),
189+
Type: new("storage.stackit.cloud/validation-error"),
190+
Title: new("Validation Failed"),
191191
Fields: &[]sfs.ValidationErrorField{
192192
{
193-
Field: utils.Ptr("ip"),
194-
Reason: utils.Ptr("999.999.999 is not a valid ip address"),
193+
Field: new("ip"),
194+
Reason: new("999.999.999 is not a valid ip address"),
195195
},
196196
},
197197
},

0 commit comments

Comments
 (0)