diff options
author | Dan Mick <dan.mick@inktank.com> | 2013-06-26 15:31:25 -0700 |
---|---|---|
committer | Dan Mick <dan.mick@inktank.com> | 2013-06-26 16:18:47 -0700 |
commit | bfed2d60a59bf69863989ca3bc108079c1d37f4f (patch) | |
tree | e2840224c90fda63e3134aa4abb2daf24db652ac | |
parent | 71f3e56d4b2c07f5fc56522a2080f1ff101ef340 (diff) | |
download | ceph-bfed2d60a59bf69863989ca3bc108079c1d37f4f.tar.gz |
MonCommands.h: auth add doesn't require caps (it can use -i <file>)
This was a regression from the old behavior introduced by the
CLI rewrite.
Fixes: #5467
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
-rw-r--r-- | src/mon/MonCommands.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mon/MonCommands.h b/src/mon/MonCommands.h index e1ebf31df6c..0f5f4096f12 100644 --- a/src/mon/MonCommands.h +++ b/src/mon/MonCommands.h @@ -140,7 +140,7 @@ COMMAND("auth list", "list authentication state") COMMAND("auth import", "auth import: read keyring file from input") COMMAND("auth add " \ "name=entity,type=CephString " \ - "name=caps,type=CephString,n=N", \ + "name=caps,type=CephString,n=N,req=false", \ "add auth info for <entity> from input file, or random key if no input given, and/or any caps specified in the command") COMMAND("auth get-or-create-key " \ "name=entity,type=CephString " \ |