-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
control/cli.py: read server-address/port defaults from env
"--server-address" defaults to env variable CEPH_NVMEOF_SERVER_ADDRESS (otherwise "localhost"). "--server-port" defaults to env variable CEPH_NVMEOF_SERVER_PORT (otherwise 5500). This is to avoid repetitive inputs. If these environment variables are set, we can just do: `ceph-nvmeof gw info`. (instead of current `ceph-nvmeof --server-address / $NVMEOF_SERVER_ADDRESS --server-port / $NVMEOF_SERVER_PORT gw info`) Signed-off-by: Vallari Agrawal <[email protected]>
- Loading branch information
Showing
2 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters