From 5e90e6c87d0edade8fcefd58531ffb593158b7a8 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 31 May 2013 17:18:12 -0700 Subject: [PATCH] mon/MonCap: set text in set_allow_all() This will let the cap encode/decode to the same value. Signed-off-by: Sage Weil --- src/mon/MonCap.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mon/MonCap.cc b/src/mon/MonCap.cc index 9a53bf2f741cc..6f982f6fbabf0 100644 --- a/src/mon/MonCap.cc +++ b/src/mon/MonCap.cc @@ -235,6 +235,7 @@ void MonCap::set_allow_all() { grants.clear(); grants.push_back(MonCapGrant(MON_CAP_ANY)); + text = "allow *"; } bool MonCap::is_capable(CephContext *cct, -- 2.39.5