Skip to content

Commit

Permalink
Removes unused core model imports and usage of GenerationVersion.
Browse files Browse the repository at this point in the history
  • Loading branch information
manadart committed Apr 3, 2019
1 parent 0c08a88 commit 5c6b891
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion apiserver/facades/client/application/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import (
"github.com/juju/juju/core/constraints"
"github.com/juju/juju/core/crossmodel"
"github.com/juju/juju/core/instance"
"github.com/juju/juju/core/model"
"github.com/juju/juju/core/status"
"github.com/juju/juju/environs/config"
"github.com/juju/juju/network"
Expand Down
3 changes: 1 addition & 2 deletions charmstore/fakeclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ import (
"io"

"github.com/juju/errors"
"github.com/juju/juju/core/model"
"gopkg.in/juju/charm.v6"
"gopkg.in/juju/charmrepo.v3/csclient/params"
)
Expand Down Expand Up @@ -157,7 +156,7 @@ type Repository struct {
revisions map[params.Channel]map[charm.URL]int
added map[string][]charm.URL
resourcesData datastore
generations map[model.GenerationVersion]string
generations map[string]string
}

// NewRepository returns an empty Repository. To populate it with charms, bundles and resources
Expand Down

0 comments on commit 5c6b891

Please sign in to comment.