We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8b6f46 commit f6edb73Copy full SHA for f6edb73
stackit/internal/services/cdn/customdomain/resource.go
@@ -443,6 +443,9 @@ func mapCustomDomainResourceFields(customDomainResponse *cdn.GetCustomDomainResp
443
return fmt.Errorf("model input is nil")
444
}
445
446
+ if customDomainResponse.CustomDomain == nil {
447
+ return fmt.Errorf("CustomDomain is missing in response")
448
+ }
449
if customDomainResponse.CustomDomain.Name == nil {
450
return fmt.Errorf("name is missing in response")
451
0 commit comments