Skip to content

Commit

Permalink
To be able to handle payload from ECS API response data.
Browse files Browse the repository at this point in the history
  • Loading branch information
massat committed Aug 29, 2022
1 parent cbd0c37 commit 4c3c9cd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions events.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package tracer
import (
"bytes"
"encoding/json"
"time"
)

type ECSTaskEvent struct {
Expand All @@ -13,10 +12,8 @@ type ECSTaskEvent struct {
type ECSTaskEventDetail struct {
DesiredStatus string `json:"desiredStatus"`
LastStatus string `json:"lastStatus"`
StartedAt time.Time `json:"startedAt"`
StopCode string `json:"stopCode"`
StoppedReason string `json:"stoppedReason"`
StoppingAt time.Time `json:"stoppingAt"`
TaskArn string `json:"taskArn"`
ClusterArn string `json:"clusterArn"`
}
Expand Down

0 comments on commit 4c3c9cd

Please sign in to comment.