pkg/selector: set the cap for slice in SelectorFromSet
Merge pull request #428 from claire921/selector

pkg/selector: set the cap for slice in SelectorFromSet