Skip to content

Commit 68ce5bf

Browse files
removed redundant
1 parent bf9f080 commit 68ce5bf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pkg/codefresh/codefresh.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,7 @@ func (c *codefresh) graphqlAPI(ctx context.Context, body map[string]interface{},
167167
return fmt.Errorf("failed to read from response body: %w", err)
168168
}
169169

170-
err = json.Unmarshal(data, res)
171-
172-
return err
170+
return json.Unmarshal(data, res)
173171
}
174172

175173
func buildQSFromMap(qs map[string]string) string {

0 commit comments

Comments
 (0)