internal/store: rename compat interface

The new store implementation will be exported as Store.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-10-30 18:53:59 +09:00
parent ebdcff1049
commit b25ade5f3d
4 changed files with 60 additions and 68 deletions

View File

@@ -168,7 +168,7 @@ func printShowInstance(
}
// printPs writes a representation of active instances to output.
func printPs(output io.Writer, now time.Time, s store.Store, short, flagJSON bool) {
func printPs(output io.Writer, now time.Time, s store.Compat, short, flagJSON bool) {
var entries map[hst.ID]*hst.State
if e, err := store.Join(s); err != nil {
log.Fatalf("cannot join store: %v", err)