Merge lp:~allenap/gwacl/list-deployments into lp:gwacl
Proposed by
Gavin Panella
Status: | Merged |
---|---|
Approved by: | Gavin Panella |
Approved revision: | 140 |
Merged at revision: | 136 |
Proposed branch: | lp:~allenap/gwacl/list-deployments |
Merge into: | lp:gwacl |
Diff against target: |
111 lines (+96/-0) 2 files modified
management.go (+27/-0) management_test.go (+69/-0) |
To merge this branch: | bzr merge lp:~allenap/gwacl/list-deployments |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Raphaël Badin (community) | Approve | ||
Review via email: mp+171532@code.launchpad.net |
Commit message
Convenience function to list deployments.
The list can be narrowed by passing an optional list of deployment names.
To post a comment you must log in.
Looks good!
[0]
We should probably optimize ListDeployments for the case where len(DeploymentN ames) == 1 and use GetDeployment in this case. This is just an optimization but I suspect the Azure provider will do that so would you mind adding a TODO?
[1]
Again, something that can be done later but it would be nice to add a call to ListDeployments() in example/ management/ run.go.