Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Add series attribute to bundles #197
Conversation
axw
reviewed
Mar 10, 2016
| @@ -68,6 +68,11 @@ type ServiceSpec struct { | ||
| // use for the given service. | ||
| Charm string | ||
| + // Series is the series to use when deploying the charm |
axw
reviewed
Mar 10, 2016
| + | ||
| + // Check the series. | ||
| + if curl != nil && svc.Series != "" { | ||
| + verifier.addErrorf("service %q declares both a series and a charm store URL", name) |
axw
Mar 10, 2016
Member
"store" in the message may not be accurate in the future, if we add additional URL schemes
|
LGTM with a couple of quibbles |
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju-charm |
added a commit
that referenced
this pull request
Mar 10, 2016
jujubot
merged commit 9984092
into
juju:v6-unstable
Mar 10, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
wallyworld commentedMar 10, 2016
Bundle allow a series to be specified. It is an error to specify a series and a charm store charm. Series only applies to local charms.