HDDS-786. Fix the findbugs for SCMClientProtocolServer#getContainerWithPipeline.

This commit is contained in:
Yiqun Lin 2018-11-01 14:10:17 +08:00
parent b13c56742a
commit 2e8ac14dcb

View File

@ -189,7 +189,6 @@ public ContainerWithPipeline getContainerWithPipeline(long containerID)
}
}
}
String remoteUser = getRpcRemoteUsername();
getScm().checkAdminAccess(null);
return scm.getContainerManager()
.getContainerWithPipeline(ContainerID.valueof(containerID));