Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (14 sloc) 421 Bytes
// Copyright 2014 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package state
import (
"github.com/juju/juju/state/imagestorage"
)
var (
imageStorageNewStorage = imagestorage.NewStorage
)
// ImageStorage returns a new imagestorage.Storage
// that stores image metadata.
func (st *State) ImageStorage() imagestorage.Storage {
return imageStorageNewStorage(st.session, st.ModelUUID())
}