cleanup: cleanup codebase
cleanup: cleanup codebase

device.go: replace string func Index with Contains.

Signed-off-by: Guangming Wang <2dca52765acf93a024077590b100d00c3300ed67@daocloud.io>

rook/nfs,rook/rook,rook/rook,rook/nfs,rook/rook,rook/rook,rook/nfs,rook/rook