Skip to content

Commit

Permalink
Merge pull request #36 from matthewei/infoerror
Browse files Browse the repository at this point in the history
 Modify the "Error info" when ironic is deployed in distributed architecture
  • Loading branch information
metal3-io-bot committed May 28, 2024
2 parents 329e601 + b8e1a8b commit 402afab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ironic/ironic.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func EnsureIronic(cctx ControllerContext, ironic *metal3api.Ironic, db *metal3ap

if ironic.Spec.Distributed {
if db == nil {
return false, errors.New("database is required for a distributed deployment")
return false, errors.New("database is required for distributed architecture")
}

err = removeIronicDeployment(cctx, ironic)
Expand Down

0 comments on commit 402afab

Please sign in to comment.