crimson/osd: make the get_nonce() static.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
This commit is contained in:
Radoslaw Zarzynski 2021-07-27 16:27:11 +00:00
parent c79f2aaba9
commit 5293d1ad1e

View File

@ -112,7 +112,7 @@ seastar::future<> make_keyring()
});
}
uint64_t get_nonce()
static uint64_t get_nonce()
{
if (auto pid = getpid(); pid == 1 || std::getenv("CEPH_USE_RANDOM_NONCE")) {
// we're running in a container; use a random number instead!