iuliana commented on a change in pull request #1090:
URL: https://github.com/apache/brooklyn-server/pull/1090#discussion_r412974298



##########
File path: 
locations/container/src/main/java/org/apache/brooklyn/container/location/kubernetes/KubernetesLocation.java
##########
@@ -186,13 +185,36 @@ public KubernetesMachineLocation obtain(Map<?, ?> flags) {
     @Override
     public void release(KubernetesMachineLocation machine) {
         Entity entity = validateCallerContext(machine);
+        reinitClientIfExpired(entity);

Review comment:
       Yes, that would make sense, the reason I kept it here for now is because 
I need the entity to get the namespace. 




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to