diff options
Diffstat (limited to 'src/cephadm/cephadmlib/data_utils.py')
-rw-r--r-- | src/cephadm/cephadmlib/data_utils.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cephadm/cephadmlib/data_utils.py b/src/cephadm/cephadmlib/data_utils.py index 0ab8b38d2b5..9caef3f72e5 100644 --- a/src/cephadm/cephadmlib/data_utils.py +++ b/src/cephadm/cephadmlib/data_utils.py @@ -189,8 +189,9 @@ def normalize_image_digest(digest: str) -> str: return digest -def get_legacy_config_fsid(cluster, legacy_dir=None): - # type: (str, Optional[str]) -> Optional[str] +def get_legacy_config_fsid( + cluster: str, legacy_dir: Optional[str] = None +) -> Optional[str]: config_file = '/etc/ceph/%s.conf' % cluster if legacy_dir is not None: config_file = os.path.abspath(legacy_dir + config_file) |