Skip to content

Commit

Permalink
Add deprecation message for duplicate
Browse files Browse the repository at this point in the history
This is an under-utilized sub-command, so it will be removed in the next
Y release pending any major objections.
  • Loading branch information
JacobCallahan committed Feb 8, 2024
1 parent 9ecd023 commit 5266426
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions broker/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,13 @@ def extend(vm, background, all_, sequential, filter, **kwargs):
def duplicate(vm, background, count, all_, filter):
"""Duplicate a broker-procured vm.
DEPRECATED! This will be removed in Broker 0.5. If you need this feature, please open an issue.
COMMAND: broker duplicate <vm hostname>|<local id>|all
"""
logger.warning(
"Duplicate will be remove in Broker 0.5. If you need this feature, please open an issue."
)
if background:
helpers.fork_broker()
inventory = helpers.load_inventory(filter=filter)
Expand Down

0 comments on commit 5266426

Please sign in to comment.