mirror of https://github.com/apache/cloudstack.git
bug 10618: another place that could possibly throw NPE
This commit is contained in:
parent
62a570484c
commit
49999bf609
|
|
@ -192,7 +192,8 @@ public class NfsSecondaryStorageResource extends ServerResourceBase implements S
|
|||
}
|
||||
finally {
|
||||
try {
|
||||
is.close();
|
||||
if(is != null)
|
||||
is.close();
|
||||
} catch (IOException e) {
|
||||
if(s_logger.isDebugEnabled()){
|
||||
s_logger.debug("Could not close the file " +absoluteTemplatePath);
|
||||
|
|
|
|||
Loading…
Reference in New Issue