state: rename simple store implementation
All checks were successful
Tests / Go tests (push) Successful in 42s
Nix / NixOS tests (push) Successful in 3m4s

Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
This commit is contained in:
2024-12-19 11:48:48 +09:00
parent 5d25bee786
commit f796622c35
2 changed files with 19 additions and 19 deletions

View File

@@ -37,7 +37,7 @@ func MustPrintLauncherStateSimpleGlobal(w **tabwriter.Writer, runDir string) {
}
// obtain temporary store
s := NewSimple(runDir, e.Name()).(*simpleStore)
s := NewSimple(runDir, e.Name()).(*multiStore)
// print states belonging to this store
s.mustPrintLauncherState(w, now)
@@ -50,7 +50,7 @@ func MustPrintLauncherStateSimpleGlobal(w **tabwriter.Writer, runDir string) {
}
}
func (s *simpleStore) mustPrintLauncherState(w **tabwriter.Writer, now time.Time) {
func (s *multiStore) mustPrintLauncherState(w **tabwriter.Writer, now time.Time) {
var innerErr error
if ok, err := s.Do(func(b Backend) {