Skip to content

Commit e717a92

Browse files
author
Alexander Indenbaum
committed
cephadm/nvmeof: fix ports when default values are overridden
Signed-off-by: Alexander Indenbaum <[email protected]>
1 parent b192a7e commit e717a92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/python-common/ceph/deployment/service_spec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1544,7 +1544,7 @@ def __init__(self,
15441544
self.monitor_client_log_file_dir = monitor_client_log_file_dir
15451545

15461546
def get_port_start(self) -> List[int]:
1547-
return [5500, 4420, 8009]
1547+
return [self.port, 4420, self.discovery_port]
15481548

15491549
def validate(self) -> None:
15501550
# TODO: what other parameters should be validated as part of this function?

0 commit comments

Comments
 (0)