Skip to content

Commit

Permalink
HOTFIX: ContainerDefinition#system_controls now returns [] instead of…
Browse files Browse the repository at this point in the history
… nil
  • Loading branch information
eagletmt committed Mar 21, 2024
1 parent 1c25f8e commit 4c477cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hako/schedulers/ecs_definition_comparator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def definition_schema
struct.member(:linux_parameters, Schema::Nullable.new(linux_parameters_schema))
struct.member(:readonly_root_filesystem, Schema::Nullable.new(Schema::Boolean.new))
struct.member(:docker_security_options, Schema::Nullable.new(Schema::UnorderedArray.new(Schema::String.new)))
struct.member(:system_controls, Schema::Nullable.new(system_controls_schema))
struct.member(:system_controls, Schema::WithDefault.new(system_controls_schema, []))
struct.member(:repository_credentials, Schema::Nullable.new(repository_credentials_schema))
struct.member(:resource_requirements, Schema::Nullable.new(Schema::UnorderedArray.new(resource_requirement_schema)))
end
Expand Down

0 comments on commit 4c477cb

Please sign in to comment.