cloudapi: blueprint must have a name
This commit is contained in:
parent
d42d5fa17f
commit
f164bfb272
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ func (h *apiHandlers) PostCompose(ctx echo.Context) error {
|
||||||
return HTTPError(ErrorUnsupportedDistribution)
|
return HTTPError(ErrorUnsupportedDistribution)
|
||||||
}
|
}
|
||||||
|
|
||||||
var bp = blueprint.Blueprint{}
|
var bp = blueprint.Blueprint{Name: "empty blueprint"}
|
||||||
err = bp.Initialize()
|
err = bp.Initialize()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return HTTPErrorWithInternal(ErrorFailedToInitializeBlueprint, err)
|
return HTTPErrorWithInternal(ErrorFailedToInitializeBlueprint, err)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue