Skip to content

Commit 6fe3859

Browse files
committed
clean up
1 parent c4e565b commit 6fe3859

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/ctrlc/root/apply/apply.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,10 +249,10 @@ func processEnvironment(
249249
Name: environment.Name,
250250
Description: &environment.Description,
251251
}
252+
252253
if environment.ResourceSelector != nil {
253254
body.ResourceSelector = environment.ResourceSelector
254255
}
255-
256256
_, err := client.CreateEnvironmentWithResponse(ctx, body)
257257
if err != nil {
258258
log.Error("Failed to create environment", "name", environment.Name, "error", err)

0 commit comments

Comments
 (0)