Skip to content

Commit 803de1a

Browse files
fix: rebase
1 parent b07cc35 commit 803de1a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

provider/cloudflare/cloudflare.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -230,10 +230,10 @@ func (z zoneService) DeleteCustomHostname(ctx context.Context, customHostnameID
230230
}
231231

232232
func (z zoneService) CreateCustomHostname(ctx context.Context, zoneID string, ch CustomHostname) error {
233-
params := buildCustomHostnameNewParams(zoneID, ch)
234-
_, err := z.service.CustomHostnames.New(ctx, params,
235-
option.WithJSONSet("custom_origin_server", ch.CustomOriginServer))
236-
return err
233+
params := buildCustomHostnameNewParams(zoneID, ch)
234+
_, err := z.service.CustomHostnames.New(ctx, params,
235+
option.WithJSONSet("custom_origin_server", ch.CustomOriginServer))
236+
return err
237237
}
238238

239239
// listZonesV4Params returns the appropriate Zone List Params for v4 API

0 commit comments

Comments
 (0)