-
Notifications
You must be signed in to change notification settings - Fork 207
Open
Description
Describe the bug
When using tab-complete in icingacli director, the command will sometimes get already executed.
To Reproduce
- Type
icingacli director host create test --check_command dummy --into the commandline - Without hitting enter, trigger the tab-completion
- Notice that the host has been created already.
- Hitting tab-complete again will print an error that the object already exists.
Expected behavior
The object should only ever be created if the command is actually run.
Screenshots
Your Environment
Include as many relevant details about the environment you experienced the problem in
- Director version (System - About): 1.11.4
- Icinga Web 2 version and modules (System - About): 2.12.4
- Icinga 2 version (
icinga2 --version): - Operating System and version: Red Hat Enterprise Linux release 8.10 (Ootpa)
- Webserver, PHP versions: php-7.4.33-2.module+el8.10.0+22485+a3539972.x86_64
Metadata
Metadata
Assignees
Labels
No labels