File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/pybind/mgr/orchestrator Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1560,7 +1560,7 @@ def _nvmeof_add(self,
15601560 raise OrchestratorValidationError ('unrecognized command -i; -h or --help for usage' )
15611561
15621562 spec = NvmeofServiceSpec (
1563- service_id = 'nvmeof' ,
1563+ service_id = f' { pool } . { group } ' if group else pool ,
15641564 pool = pool ,
15651565 group = group ,
15661566 placement = PlacementSpec .from_string (placement ),
@@ -1887,7 +1887,7 @@ def _apply_nvmeof(self,
18871887 raise OrchestratorValidationError ('unrecognized command -i; -h or --help for usage' )
18881888
18891889 spec = NvmeofServiceSpec (
1890- service_id = f'{ pool } .{ group } ' ,
1890+ service_id = f'{ pool } .{ group } ' if group else pool ,
18911891 pool = pool ,
18921892 group = group ,
18931893 placement = PlacementSpec .from_string (placement ),
You can’t perform that action at this time.
0 commit comments