You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by ge...@apache.org on 2017/02/21 14:05:29 UTC

[1/2] brooklyn-server git commit: Fix copy&paste error - assign to proper variable _image

Repository: brooklyn-server
Updated Branches:
  refs/heads/master 5cbfd5fab -> 5e947cef0


Fix copy&paste error - assign to proper variable _image


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/906a61f8
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/906a61f8
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/906a61f8

Branch: refs/heads/master
Commit: 906a61f824549f9af769876297df0d4224fd8511
Parents: ebcea30
Author: Svetoslav Neykov <sv...@cloudsoftcorp.com>
Authored: Tue Feb 21 15:47:31 2017 +0200
Committer: Svetoslav Neykov <sv...@cloudsoftcorp.com>
Committed: Tue Feb 21 15:48:45 2017 +0200

----------------------------------------------------------------------
 .../brooklyn/location/jclouds/JcloudsSshMachineLocation.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/906a61f8/locations/jclouds/src/main/java/org/apache/brooklyn/location/jclouds/JcloudsSshMachineLocation.java
----------------------------------------------------------------------
diff --git a/locations/jclouds/src/main/java/org/apache/brooklyn/location/jclouds/JcloudsSshMachineLocation.java b/locations/jclouds/src/main/java/org/apache/brooklyn/location/jclouds/JcloudsSshMachineLocation.java
index e2bed51..dfbf63f 100644
--- a/locations/jclouds/src/main/java/org/apache/brooklyn/location/jclouds/JcloudsSshMachineLocation.java
+++ b/locations/jclouds/src/main/java/org/apache/brooklyn/location/jclouds/JcloudsSshMachineLocation.java
@@ -255,7 +255,7 @@ public class JcloudsSshMachineLocation extends SshMachineLocation implements Jcl
                   ComputeService computeService = getComputeServiceOrNull();
                   if (computeService == null) {
                       if (LOG.isDebugEnabled()) LOG.debug("Cannot get image (with id {}) for {}, because cannot get compute-service from parent {}", new Object[] {imageId, this, getParent()});
-                      _node = Optional.absent();
+                      _image = Optional.absent();
                   } else {
                       _image = Optional.fromNullable(computeService.getImage(imageId));
                   }


[2/2] brooklyn-server git commit: Closes #566

Posted by ge...@apache.org.
Closes #566

Fix copy&paste error - assign to proper variable _image


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/5e947cef
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/5e947cef
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/5e947cef

Branch: refs/heads/master
Commit: 5e947cef041890b0b341fda982bc3c7cfd4c70a9
Parents: 5cbfd5f 906a61f
Author: Geoff Macartney <ge...@cloudsoftcorp.com>
Authored: Tue Feb 21 14:05:05 2017 +0000
Committer: Geoff Macartney <ge...@cloudsoftcorp.com>
Committed: Tue Feb 21 14:05:05 2017 +0000

----------------------------------------------------------------------
 .../brooklyn/location/jclouds/JcloudsSshMachineLocation.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------