oci: more grep'able interface name
`git grep -wi store` is not nearly useful enough. Taking steps for readability. Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
0b48dd5d7f
commit
f1fd06bfc1
6 changed files with 122 additions and 117 deletions
|
@ -9,7 +9,7 @@ type memoryStore struct {
|
|||
}
|
||||
|
||||
// NewMemoryStore initializes a new memory store.
|
||||
func NewMemoryStore() Store {
|
||||
func NewMemoryStore() ContainerStorer {
|
||||
return &memoryStore{
|
||||
s: make(map[string]*Container),
|
||||
}
|
||||
|
@ -89,4 +89,4 @@ func (c *memoryStore) all() []*Container {
|
|||
return containers
|
||||
}
|
||||
|
||||
var _ Store = &memoryStore{}
|
||||
var _ ContainerStorer = &memoryStore{}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue