MCPcopy Create free account
hub / github.com/ceph/ceph / _check_name

Function _check_name

src/python-common/ceph/cryptotools/select.py:16–18  ·  view source on GitHub ↗
(name: str)

Source from the content-addressed store, hash-verified

14
15
16def _check_name(name: str) -> None:
17 if name and name not in (_CC_REMOTE, _CC_INTERNAL):
18 raise ValueError(f'unexpected crypto caller name: {name}')
19
20
21def choose_crypto_caller(name: str = '') -> None:

Callers 1

choose_crypto_callerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected