Skip to content

Commit 456a4bf

Browse files
committed
BUGFIX: CLI command nodeindex:indexnode if broken if workspace is specified
1 parent 5911c3f commit 456a4bf

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Classes/Flowpack/ElasticSearch/ContentRepositoryAdaptor/Command/NodeIndexCommandController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ public function indexNodeCommand($identifier, $workspace = null)
181181
$indexInWorkspace($identifier, $workspace);
182182
}
183183
} else {
184+
$workspace = $this->workspaceRepository->findByIdentifier($workspace);
184185
$indexInWorkspace($identifier, $workspace);
185186
}
186187
}

0 commit comments

Comments
 (0)