canonical / rockcraft

Tool to create OCI Images using the language from Snapcraft and Charmcraft.
GNU General Public License v3.0
35 stars 43 forks source link

Using the pebble field "on-failure" doesn't work #234

Closed gruyaume closed 1 year ago

gruyaume commented 1 year ago

Overview

When trying to build a pebble Layer with the "on-failure" field, we get the following error message:

cannot parse layer "nginx": yaml: unmarshal errors:
  line 10: field on_failure not found in type plan.Service

This was tested with the nginx-rock

cjdcordeiro commented 1 year ago

Will be fixed via https://github.com/canonical/rockcraft/issues/235

Closing as duplicate