Skip to content

Commit

Permalink
Update jobsdb/jobsdb.go
Browse files Browse the repository at this point in the history
Co-authored-by: Rohith BCS <[email protected]>
  • Loading branch information
Sidddddarth and cisse21 authored Oct 24, 2024
1 parent bb66740 commit ddb3b12
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion jobsdb/jobsdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -1992,7 +1992,11 @@ func (jd *Handle) GetDistinctParameterValues(ctx context.Context, parameterName
if err != nil {
return nil, err
}
return res.([]string), nil
val, ok := res.([]string)
if !ok {
return nil, fmt.Errorf("type assertion failed")
}
return val, nil```

Check failure on line 1999 in jobsdb/jobsdb.go

View workflow job for this annotation

GitHub Actions / Integration (oss)

syntax error: unexpected literal `` at end of statement

Check failure on line 1999 in jobsdb/jobsdb.go

View workflow job for this annotation

GitHub Actions / Integration (enterprise)

syntax error: unexpected literal `` at end of statement

Check failure on line 1999 in jobsdb/jobsdb.go

View workflow job for this annotation

GitHub Actions / lint

syntax error: unexpected literal `` at end of statement
}
func (jd *Handle) doStoreJobsInTx(ctx context.Context, tx *Tx, ds dataSetT, jobList []*JobT) error {
Expand Down

0 comments on commit ddb3b12

Please sign in to comment.