Skip to content

bug: is_scaleup always return 0 due to -o pipefail #386

@ioggstream

Description

@ioggstream

I expect

is_scaleup to return EXIT_SUCCESS (0) only if there are new nodes

instead

returns EXIT_SUCCESS whenever ansible/inventory and ansible.deployed/inventory differs

Hint

This is due to

set -o pipefail

which causes every diff to return EXIT_FAILURE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions