Skip to content

Commit

Permalink
update lint and test
Browse files Browse the repository at this point in the history
  • Loading branch information
ganisback committed Dec 6, 2024
1 parent 4952e7c commit 164fe00
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions builder/deploy/imagerunner/remote_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ func (h *RemoteRunner) ListWorkFlows(ctx context.Context, username string, per,
if err != nil {
return nil, fmt.Errorf("failed to list evaluation jobs, %w", err)
}
defer response.Body.Close()
var res types.ArgoWorkFlowListRes
if err := json.NewDecoder(response.Body).Decode(&res); err != nil {
return nil, err
Expand Down
7 changes: 4 additions & 3 deletions component/model_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,10 @@ func TestModelComponent_Show(t *testing.T) {
HTTPCloneURL: "https://foo.com/s/foo/bar.git",
SSHCloneURL: "[email protected]:s/foo/bar.git",
},
EnableInference: true,
EnableFinetune: true,
WidgetType: types.ModelWidgetTypeGeneration,
EnableInference: true,
EnableFinetune: true,
EnableEvaluation: true,
WidgetType: types.ModelWidgetTypeGeneration,
}, model)
}

Expand Down

0 comments on commit 164fe00

Please sign in to comment.