forked from rook/rook
unhandled type assertions can lead to runtime panic. using the boolean 'ok' flag to handle failure to assert type. Issue: #4566 Signed-off-by: Umanga Chapagain <chapagainumanga@gmail.com>
unhandled type assertions can lead to runtime panic. using the boolean 'ok' flag to handle failure to assert type. Issue: #4566 Signed-off-by: Umanga Chapagain <chapagainumanga@gmail.com>