diff --git a/cmd/hakurei/print.go b/cmd/hakurei/print.go index aa7a26a..06c8b2a 100644 --- a/cmd/hakurei/print.go +++ b/cmd/hakurei/print.go @@ -38,7 +38,7 @@ func printShowSystem(output io.Writer, short, flagJSON bool) { t.Printf("RunDirPath:\t%s\n", info.RunDirPath) } -// printShowInstance writes a representation of [state.State] or [hst.Config] to output. +// printShowInstance writes a representation of [hst.State] or [hst.Config] to output. func printShowInstance( output io.Writer, now time.Time, instance *hst.State, config *hst.Config, @@ -243,7 +243,7 @@ func printPs(output io.Writer, now time.Time, s state.Store, short, flagJSON boo } } -// expandedStateEntry stores [state.State] alongside a string representation of its [state.ID]. +// expandedStateEntry stores [hst.State] alongside a string representation of its [hst.ID]. type expandedStateEntry struct { s string *hst.State diff --git a/internal/app/dispatcher_test.go b/internal/app/dispatcher_test.go index 74f72b4..839e9e4 100644 --- a/internal/app/dispatcher_test.go +++ b/internal/app/dispatcher_test.go @@ -47,7 +47,7 @@ const ( wantRuntimeSharePath = wantRunDirPath + "/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" ) -// checkExpectInstanceId is the [state.ID] value used by checkOpBehaviour to initialise outcomeState. +// checkExpectInstanceId is the [hst.ID] value used by checkOpBehaviour to initialise outcomeState. var checkExpectInstanceId = *(*hst.ID)(bytes.Repeat([]byte{0xaa}, len(hst.ID{}))) type (