diff options
Diffstat (limited to 'internal/app/state/multi.go')
| -rw-r--r-- | internal/app/state/multi.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/app/state/multi.go b/internal/app/state/multi.go index 244b5c56..ca608f58 100644 --- a/internal/app/state/multi.go +++ b/internal/app/state/multi.go @@ -11,8 +11,8 @@ import ( "sync" "syscall" - "hakurei.app/container" "hakurei.app/hst" + "hakurei.app/message" ) // fine-grained locking and access @@ -22,7 +22,7 @@ type multiStore struct { // initialised backends backends *sync.Map - msg container.Msg + msg message.Msg mu sync.RWMutex } @@ -280,7 +280,7 @@ func (b *multiBackend) close() error { } // NewMulti returns an instance of the multi-file store. -func NewMulti(msg container.Msg, runDir string) Store { +func NewMulti(msg message.Msg, runDir string) Store { return &multiStore{ msg: msg, base: path.Join(runDir, "state"), |
