diff --git a/nomad/state/state_store.go b/nomad/state/state_store.go index 1f2040c82a53..4cc1902aa224 100644 --- a/nomad/state/state_store.go +++ b/nomad/state/state_store.go @@ -2265,8 +2265,8 @@ func (s *StateStore) CSIVolumesByPluginID(ws memdb.WatchSet, namespace, prefix, } // CSIVolumesByIDPrefix supports search. Caller should snapshot if it wants to -// also denormalize the plugins. If using a prefix, the results will not use an -// index. +// also denormalize the plugins. If using a prefix with the wildcard namespace, +// the results will not use the index prefix. func (s *StateStore) CSIVolumesByIDPrefix(ws memdb.WatchSet, namespace, volumeID string) (memdb.ResultIterator, error) { if namespace == structs.AllNamespacesSentinel { return s.csiVolumeByIDPrefixAllNamespaces(ws, volumeID)