Skip to content

Commit

Permalink
NixOPS -> NixOps
Browse files Browse the repository at this point in the history
  • Loading branch information
adisbladis committed Jun 11, 2020
1 parent ea36a8e commit cbda25d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion nixops/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def hook(_type: Type[BaseException], value: BaseException, tb: TracebackType):
subparser = add_subparser(
subparsers,
"delete-resources",
help="deletes the resource from the local NixOPS state file.",
help="deletes the resource from the local NixOps state file.",
)
subparser.set_defaults(op=op_delete_resources)
subparser.add_argument(
Expand Down
6 changes: 3 additions & 3 deletions nixops/resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,13 +290,13 @@ def delete_resources(self):
if not self.depl.logger.confirm(
"are you sure you want to clear the state of {}? "
"this will only remove the resource from the local "
"NixOPS state and the resource may still exist outside "
"of the NixOPS database.".format(self.name)
"NixOps state and the resource may still exist outside "
"of the NixOps database.".format(self.name)
):
return False

self.logger.warn(
"removing resource {} from the local NixOPS database ...".format(self.name)
"removing resource {} from the local NixOps database ...".format(self.name)
)
return True

Expand Down

0 comments on commit cbda25d

Please sign in to comment.