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

(cherry picked from commit 2e8ac14dcb57a0fe07b2119c26535c3541665b70)
This commit is contained in:
Yiqun Lin 2018-11-01 14:10:17 +08:00
parent 8411c2bf56
commit 73e9e43483

View File

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