Remove useless code in SubmitTaskStateChange
@@ -312,12 +312,6 @@ func (client *APIECSClient) SubmitTaskStateChange(change api.TaskStateChange) er
return nil
}
- if change.Status != api.TaskRunning && change.Status != api.TaskStopped && len(change.Containers) == 0 {
- seelog.Debugf("Not submitting unsupported upstream task state: %s", change.Status.String())
- // Not really an error
- return nil
- }
-
status := change.Status.BackendStatus()
req := ecs.SubmitTaskStateChangeInput{
