forked from security/hakurei
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user