mirror of
https://github.com/ceph/ceph
synced 2025-01-01 08:32:24 +00:00
mgr: Use signed int log level in PyModules::log()
Using an unsigned causes a build failure when expanding the dout macro. Signed-off-by: Tim Serong <tserong@suse.com>
This commit is contained in:
parent
96e10e9328
commit
054708a6f0
@ -446,7 +446,7 @@ void PyModules::insert_config(const std::map<std::string,
|
||||
}
|
||||
|
||||
void PyModules::log(const std::string &handle,
|
||||
unsigned level, const std::string &record)
|
||||
int level, const std::string &record)
|
||||
{
|
||||
#undef dout_prefix
|
||||
#define dout_prefix *_dout << "mgr[" << handle << "] "
|
||||
|
@ -83,7 +83,7 @@ public:
|
||||
const std::string &key, const std::string &val);
|
||||
|
||||
void log(const std::string &handle,
|
||||
unsigned level, const std::string &record);
|
||||
int level, const std::string &record);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user