Fix language, typos and markdown layout

[NO NEW TESTS NEEDED]

Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>
This commit is contained in:
Erik Sjölund
2023-07-23 16:30:34 +02:00
parent 67f0340687
commit b5ce0ab2de
23 changed files with 30 additions and 30 deletions

View File

@ -184,7 +184,7 @@ const (
// Renumber indicates that lock numbers were reallocated at user
// request.
Renumber Status = "renumber"
// Restart indicates the target was restarted via an API call.
// Restart indicates that the target was restarted via an API call.
Restart Status = "restart"
// Restore ...
Restore Status = "restore"

View File

@ -226,9 +226,9 @@ func (e EventJournalD) String() string {
return Journald.String()
}
// GetNextEntry returns the next entry in the journal. If the end of the
// GetNextEntry returns the next entry in the journal. If the end of the
// journal is reached and stream is not set or the current time is after
// the until time this function return nil,nil.
// the until time this function returns nil,nil.
func GetNextEntry(ctx context.Context, j *sdjournal.Journal, stream bool, untilTime time.Time) (*sdjournal.JournalEntry, error) {
for {
select {