Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix: known_hosts update on nixops destroy #38

Merged
merged 1 commit into from Mar 22, 2020

Conversation

bhipple
Copy link
Contributor

@bhipple bhipple commented Mar 22, 2020

Previously, the nixops-aws plugin was always calling
known_hosts.update(old, new, val).

As of this commit [1], all arguments to the update function must be non-null.
While we could modify the update function in nixops to have the previous
behavior, it makes more sense for us to just call add when we mean add, and
remove when we mean remove.

[1] NixOS/nixops#1233

CC @grahamc @TheWizardTower

Previously, the nixops-aws plugin was always calling
`known_hosts.update(old, new, val)`.

As of this commit [1], all arguments to the `update` function must be non-null.
While we could modify the `update` function in nixops to have the previous
behavior, it makes more sense for us to just call `add` when we mean add, and
`remove` when we mean remove.

[1] NixOS/nixops#1233
@grahamc grahamc merged commit 27e3304 into NixOS:master Mar 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants