Skip to content

machine restart policy on-fail should be on-failure #2844

@andie787

Description

@andie787

The --restart flag for fly m run has on-fail as one of the options, but this should really be on-failure like it is in the Machines API and Docker's restart policy. See

case "on-fail":

Since this is already in use, I'm not sure if it should be fixed or if we can alias on-fail to on-failure and update the docs.

Related:
superfly/docs#1043 (comment)
cc @jipperinbham

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions