You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by sv...@apache.org on 2016/07/14 20:43:50 UTC

[1/2] brooklyn-client git commit: Fixed Compilation Issue

Repository: brooklyn-client
Updated Branches:
  refs/heads/master 4adfb0088 -> a191255ee


Fixed Compilation Issue

Unused Imports
Mismatch return parameters.

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

Branch: refs/heads/master
Commit: cfbd31d555a1bfd830749ce3f1d3ed530a84f845
Parents: e54c02d
Author: Jitendra <ji...@gmail.com>
Authored: Tue Jun 21 18:50:49 2016 +0530
Committer: GitHub <no...@github.com>
Committed: Tue Jun 21 18:50:49 2016 +0530

----------------------------------------------------------------------
 api/server/server.go | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-client/blob/cfbd31d5/api/server/server.go
----------------------------------------------------------------------
diff --git a/api/server/server.go b/api/server/server.go
index 71155bd..a46b705 100644
--- a/api/server/server.go
+++ b/api/server/server.go
@@ -19,9 +19,7 @@
 package server
 
 import (
-	"encoding/json"
 	"fmt"
-	"github.com/apache/brooklyn-client/models"
 	"github.com/apache/brooklyn-client/net"
 )
 
@@ -169,7 +167,7 @@ func ClearStates(network *net.Network) (string, error) {
 	if err != nil {
 		return "", nil
 	}
-	return string(body)
+	return string(body), nil
 }
 
 func Export(network *net.Network) (string, error) {
@@ -178,7 +176,7 @@ func Export(network *net.Network) (string, error) {
 	if err != nil {
 		return "", nil
 	}
-	return string(body)
+	return string(body), nil
 }
 
 // WIP
@@ -188,5 +186,5 @@ func Shutdown(network *net.Network) (string, error) {
 	if err != nil {
 		return "", err
 	}
-	return string(body)
+	return string(body), nil
 }


[2/2] brooklyn-client git commit: Closes #24

Posted by sv...@apache.org.
Closes #24

Fixed Compilation Issue

Unused Imports
Mismatch return parameters.


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

Branch: refs/heads/master
Commit: a191255eeff56468be3b47d08c9bd30b6265af26
Parents: 4adfb00 cfbd31d
Author: Svetoslav Neykov <sv...@cloudsoftcorp.com>
Authored: Thu Jul 14 23:43:43 2016 +0300
Committer: Svetoslav Neykov <sv...@cloudsoftcorp.com>
Committed: Thu Jul 14 23:43:43 2016 +0300

----------------------------------------------------------------------
 api/server/server.go | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
----------------------------------------------------------------------