Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[review] EventBridge Scheduler のスケジュール登録 #14

Merged
merged 17 commits into from
Nov 1, 2023

Conversation

kzkn
Copy link
Contributor

@kzkn kzkn commented Oct 13, 2023

No description provided.

@kzkn kzkn force-pushed the kzkn-20231013-eventbridge-scheduler branch from f8d2c7c to f6e4169 Compare October 13, 2023 06:22
@kzkn kzkn changed the title [WIP] EventBridge Scheduler のスケジュール登録 [review] EventBridge Scheduler のスケジュール登録 Oct 13, 2023
@command = command
end

def create_run_task(group_name:, cluster_arn:, task_definition_arn:, network_configuration:)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ruby 3.1の記法じゃなかったっけ?3.0とかでもOKだったっけ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ここはメソッドのキーワード引数(必須)なので、前から書けるはず。
3.1 からのやつはハッシュリテラルの省略記法ですね。

a = 1
{ a: } # => { a: 1 }

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

なるほど!

@interu interu merged commit d0e2229 into main Nov 1, 2023
0 of 3 checks passed
@interu interu deleted the kzkn-20231013-eventbridge-scheduler branch November 1, 2023 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants