Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apis/v1alpha1/ack-generate-metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ack_generate_info:
build_date: "2025-03-27T16:36:00Z"
build_hash: 980cb1e4734f673d16101cf55206b84ca639ec01
build_date: "2025-04-11T22:07:51Z"
build_hash: 0909e7f0adb8ffe4120a8c20d5d58b991f2539e9
go_version: go1.24.1
version: v0.44.0
version: v0.44.0-3-g0909e7f
api_directory_checksum: ebeb6f826282ad9134ca78efd74dc9125898fddf
api_version: v1alpha1
aws_sdk_go_version: v1.32.6
Expand Down
2 changes: 0 additions & 2 deletions apis/v1alpha1/generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ resources:
code: customPreCompare(delta, a, b)
sdk_update_post_request:
code: return desired, nil
sdk_create_post_set_output:
template_path: hooks/file_system/sdk_create_post_set_output.go.tpl
sdk_create_post_build_request:
template_path: hooks/file_system/sdk_create_post_build_request.go.tpl
sdk_read_many_post_set_output:
Expand Down
2 changes: 0 additions & 2 deletions generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ resources:
code: customPreCompare(delta, a, b)
sdk_update_post_request:
code: return desired, nil
sdk_create_post_set_output:
template_path: hooks/file_system/sdk_create_post_set_output.go.tpl
sdk_create_post_build_request:
template_path: hooks/file_system/sdk_create_post_build_request.go.tpl
sdk_read_many_post_set_output:
Expand Down
2 changes: 1 addition & 1 deletion pkg/resource/file_system/hooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func filesystemActive(r *resource) bool {
return false
}
cs := *r.ko.Status.LifeCycleState
lifeCycleState := string(svcapitypes.LifeCycleState_available)
lifeCycleState := string(svcsdktypes.LifeCycleStateAvailable)
return cs == lifeCycleState
}

Expand Down
11 changes: 1 addition & 10 deletions pkg/resource/file_system/sdk.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 0 additions & 8 deletions templates/hooks/file_system/sdk_create_post_set_output.go.tpl

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
return nil, err
}
if !filesystemActive(&resource{ko}) {
return &resource{ko}, requeueWaitState(r)
return &resource{ko}, requeueWaitState(&resource{ko})
}