chore: golang lint

This commit is contained in:
Jason Song
2022-11-26 22:12:52 +08:00
parent bfe0fc1533
commit ef4b3673dd
10 changed files with 15 additions and 16 deletions

View File

@ -57,7 +57,7 @@ func WriteLogs(ctx context.Context, filename string, offset int64, rows []*runne
return ns, nil
}
func ReadLogs(ctx context.Context, inStorage bool, filename string, offset int64, limit int64) ([]*runnerv1.LogRow, error) {
func ReadLogs(ctx context.Context, inStorage bool, filename string, offset, limit int64) ([]*runnerv1.LogRow, error) {
f, err := openLogs(ctx, inStorage, filename)
if err != nil {
return nil, err