Skip to content

Commit

Permalink
Use the correct repo params.
Browse files Browse the repository at this point in the history
  • Loading branch information
ericsnowcurrently committed Mar 30, 2016
1 parent ea8e1c4 commit 9757e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charmstore/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func newBaseClient(raw *csclient.Client, config ClientConfig, meta JujuMetadata)
}
base.asRepo = func() *charmrepo.CharmStore {
// TODO(ericsnow) Use charmrepo.NewCharmStoreFromClient(), when available?
repo := charmrepo.NewCharmStore(config.NewCharmStoreParams)
repo := config.newCSRepo()
return repo.WithJujuAttrs(meta.asAttrs())
}
return base
Expand Down

0 comments on commit 9757e6c

Please sign in to comment.