forked from rook/rook
v2 port can be avalaible without v1, so fixing the current check Signed-off-by: parth-gr <partharora1010@gmail.com>
v2 port can be avalaible without v1, so fixing the current check Signed-off-by: parth-gr <partharora1010@gmail.com>