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/10/25 19:11:10 UTC

[16/19] brooklyn-client git commit: Fix br tree for apps with members

Fix br tree for apps with members


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

Branch: refs/heads/master
Commit: 2c6da53869e0a5fae347c5baf7866f95ca3ceeb2
Parents: 665f00a
Author: Geoff Macartney <ge...@cloudsoftcorp.com>
Authored: Tue Oct 25 11:52:21 2016 +0100
Committer: Geoff Macartney <ge...@cloudsoftcorp.com>
Committed: Tue Oct 25 11:52:21 2016 +0100

----------------------------------------------------------------------
 cli/models/applications.go | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-client/blob/2c6da538/cli/models/applications.go
----------------------------------------------------------------------
diff --git a/cli/models/applications.go b/cli/models/applications.go
index aa44b8d..01f35cb 100644
--- a/cli/models/applications.go
+++ b/cli/models/applications.go
@@ -18,6 +18,11 @@
  */
 package models
 
+type MemberSpec struct {
+	Id            string   `json:"id"`
+	Name          string   `json:"name"`
+}
+
 type Tree struct {
 	Id            string   `json:"id"`
 	ParentId      string   `json:"parentId"`
@@ -26,7 +31,7 @@ type Tree struct {
 	CatalogItemId string   `json:"catalogItemId"`
 	Children      []Tree   `json:"children"`
 	GroupIds      []string `json:"groupIds"`
-	Members       []string `json:"members"`
+	Members       []MemberSpec `json:"members"`
 }
 
 type TaskSummary struct {