Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
WillAbides committed Sep 7, 2023
1 parent 180e3d3 commit 1f47817
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion github/enterprise_actions_runners_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ func TestEnterpriseService_GenerateEnterpriseJITConfig(t *testing.T) {

mux.HandleFunc("/enterprises/o/actions/runners/generate-jitconfig", func(w http.ResponseWriter, r *http.Request) {
v := new(GenerateJITConfigRequest)
json.NewDecoder(r.Body).Decode(v)
err := json.NewDecoder(r.Body).Decode(v)
if err != nil {
t.Errorf("Request body decode failed: %v", err)
}

testMethod(t, r, "POST")
if !cmp.Equal(v, input) {
Expand Down

0 comments on commit 1f47817

Please sign in to comment.