Skip to content

Commit

Permalink
Removing omitempty for fault injection task metadata field (aws#4376)
Browse files Browse the repository at this point in the history
  • Loading branch information
harishxr authored and mye956 committed Oct 3, 2024
1 parent 49ce48a commit 674c2a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.

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

2 changes: 1 addition & 1 deletion ecs-agent/tmds/handlers/v4/state/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ type TaskResponse struct {
EphemeralStorageMetrics *EphemeralStorageMetrics `json:"EphemeralStorageMetrics,omitempty"`
CredentialsID string `json:"-"`
TaskNetworkConfig *TaskNetworkConfig `json:"-"`
FaultInjectionEnabled bool `json:"FaultInjectionEnabled,omitempty"`
FaultInjectionEnabled bool `json:"FaultInjectionEnabled"`
}

// TaskNetworkConfig contains required network configurations for network faults injection.
Expand Down

0 comments on commit 674c2a1

Please sign in to comment.