We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f6abb3 commit 09f06caCopy full SHA for 09f06ca
stackit/internal/services/sfs/sfs_test.go
@@ -186,12 +186,12 @@ resource "stackit_sfs_resource_pool" "resourcepool" {
186
s.Reset(testutil.MockResponse{
187
StatusCode: http.StatusBadRequest,
188
ToJsonBody: sfs.ValidationError{
189
- Type: utils.Ptr("storage.stackit.cloud/validation-error"),
190
- Title: utils.Ptr("Validation Failed"),
+ Type: new("storage.stackit.cloud/validation-error"),
+ Title: new("Validation Failed"),
191
Fields: &[]sfs.ValidationErrorField{
192
{
193
- Field: utils.Ptr("ip"),
194
- Reason: utils.Ptr("999.999.999 is not a valid ip address"),
+ Field: new("ip"),
+ Reason: new("999.999.999 is not a valid ip address"),
195
},
196
197
0 commit comments