forked from rook/rook
All assignments made to errors or other variables should be used instead of ignored. This checks for errors in a couple places that were previously ignored, and also initializes a variable such that it won't be always overwritten by the various if else statements. Signed-off-by: Travis Nielsen <tnielsen@redhat.com>