158
return nil, fmt.Errorf("missing default series, cannot resolve charm url: %q", ref)
148
163
// SetCharm adds and removes charms in s. The affected charm is identified by
149
164
// charmURL, which must be revisioned. If bundle is nil, the charm will be
150
165
// removed; otherwise, it will be stored. It is an error to store a bundle