Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Adjust resources code. #184
Conversation
ericsnowcurrently
added some commits
Dec 15, 2015
ericsnowcurrently
changed the title from
Return an error from resource.ParseType().
to
Fix resources.
Dec 15, 2015
ericsnowcurrently
changed the title from
Fix resources.
to
Adjust resources code.
Dec 15, 2015
kat-co
reviewed
Dec 15, 2015
| + OriginStore | ||
| +) | ||
| + | ||
| +var origins = map[Origin]string{ |
kat-co
Dec 15, 2015
Contributor
Complete developer preference here, but I believe the stringer @natefinch demonstrated in the last sprint is a standard way to turn iotas into strings. Use this? If not, that's totally fine.
|
Overall LGTM |
|
LGTM |
|
$$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
Dec 15, 2015
jujubot
merged commit 24bd2be
into
juju:v6-unstable
Dec 15, 2015
ericsnowcurrently
deleted the
ericsnowcurrently:return-error-from-parsing
branch
Dec 15, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ericsnowcurrently commentedDec 15, 2015
This patch makes a few adjustments needed for the resources feature:
This patch also percolates the parsing error up the stack. The pattern of ignoring errors during metadata parsing relies on parse results causing appropriate errors during validation. This approach is fragile and easily resolved by supporting error returns from parsing.