chore: golang lint

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

No files matched your search

+1 -1
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