in internal/engine/environments/azure.go [145:160]
func GetAzureStatus(status AzureDeploymentStatus, environment string) string {
if !IsAzureEnvironment(environment) {
return ""
}
statusJson, err := status.AsJsonString()
if err != nil {
logging.GlobalLogger.Error("Failed to marshal status", err)
return ""
} else {
// We add these strings to the output so that the portal can find and parse
// the JSON status.
ocdStatus := fmt.Sprintf("ie_us%sie_ue", statusJson)
return ocdStatus
}
}