fix: use recipeName instead of recipe.Name
This provides a correctly formatted recipe name for machine reading (i.e. with `-` and such) instead of the more human readable version (i.e. with spaces). Closes coop-cloud/organising#162.
This commit is contained in:
parent
f39c8cbe21
commit
39ad6e8aa8
|
@ -104,7 +104,7 @@ func getRecipeMeta(recipeName string) (catalogue.RecipeMeta, error) {
|
|||
err := fmt.Errorf("recipe '%s' does not exist?", recipeName)
|
||||
return catalogue.RecipeMeta{}, err
|
||||
}
|
||||
if err := recipePkg.EnsureExists(recipeMeta.Name); err != nil {
|
||||
if err := recipePkg.EnsureExists(recipeName); err != nil {
|
||||
return catalogue.RecipeMeta{}, err
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue