Skip to content

Commit

Permalink
chore: Fix indentation in CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
spetrosi authored and ptoscano committed Apr 4, 2024
1 parent b4e0da7 commit a0ed397
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,19 @@ Changelog

- fix: Ignore ansible_host: "" (#169)

Enhancement: Ignoring _rhc.ansible_host_ if set to an empty string.
Enhancement: Ignoring _rhc.ansible_host_ if set to an empty string.

Reason: The empty string value causes:
Reason: The empty string value causes:

- the Ansible host name to be reset in the Inventory by `insights-client --ansible_host=`;
- a line `ansible_host=` to be put in the config file.

The former is a job of `{state: absent}`. An empty string should not cause such a desctructive operation. The latter is ignored by the Client and is equivatent to that line missing.

Result:
Consistently with a similar condition of the display_name parameter, an empty string ansible_host is treated as undefined. It's the same behavior as with a null value.

Issue Tracker Tickets (Jira or BZ if any): https://issues.redhat.com/browse/CCT-398
Issue Tracker Tickets (Jira or BZ if any): https://issues.redhat.com/browse/CCT-398

### Other Changes

Expand Down

0 comments on commit a0ed397

Please sign in to comment.