Skip to content

faucet.yaml changes even when set fails for any reason #34

Description

@cglewis

This is related to #21 but I've found this to be a broader issue in that any error condition on a set operation will still change the config file even though it "failed". This seems to not be a good behavior for the faucetagent to have? Perhaps it should copy the original faucet.yaml before applying set, and if it returns a failure then it sets it back to what the original faucet.yaml was?

This is especially bad in cases where the faucet.yaml being applied is valid, but there was a "failure" in the set operation for some other reason and Faucet is now running that newly applied config but the end user of faucetagent was told it failed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions