diff --git a/providers/azure/aci.go b/providers/azure/aci.go index 1899d4083..5e85eedcd 100644 --- a/providers/azure/aci.go +++ b/providers/azure/aci.go @@ -1505,11 +1505,16 @@ func aciContainerStateToContainerState(cs aci.ContainerState) v1.ContainerState } } + state := cs.State + if state == "" { + state = "Creating" + } + // Handle the case where the container is pending. // Which should be all other aci states. return v1.ContainerState{ Waiting: &v1.ContainerStateWaiting{ - Reason: cs.State, + Reason: state, Message: cs.DetailStatus, }, }