Skip to content

Commit

Permalink
Removing omitempty for fault injection task metadata field (#4376)
Browse files Browse the repository at this point in the history
  • Loading branch information
harishxr authored and Harish Senthilkumar committed Oct 7, 2024
1 parent d8339ed commit 6e612c6
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 6e612c6

Please sign in to comment.