Skip to content

Commit

Permalink
state update
Browse files Browse the repository at this point in the history
  • Loading branch information
janelletavares committed Feb 8, 2022
1 parent a65f34f commit 0374f07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/meroxa/root/environments/repair.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func (r *Repair) Execute(ctx context.Context) error {
text += fmt.Sprintf("\n%s\n", details)
}
r.logger.Errorf(ctx, text)
} else if state == meroxa.EnvironmentStateRepairing || state == meroxa.EnvironmentStateReady {
} else if state == meroxa.EnvironmentStateRepairing || state == meroxa.EnvironmentStatePreflightSuccess {
r.logger.Infof(ctx, `The repairment of your environment %q is now in progress and your environment will be up and running soon.`, r.args.NameOrUUID) // nolint:lll
} else if state == meroxa.EnvironmentStateRepairingError || state == meroxa.EnvironmentStateUpdatingError ||
state == meroxa.EnvironmentStateProvisioningError || state == meroxa.EnvironmentStateDeprovisioningError {
Expand Down

0 comments on commit 0374f07

Please sign in to comment.