Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Su <[email protected]>
  • Loading branch information
pingsutw committed Apr 12, 2024
1 parent d4b5b58 commit 109e5d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flyteplugins/go/tasks/plugins/webapi/databricks/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ func (p Plugin) sendRequest(method string, databricksJob map[string]interface{},
}
var data map[string]interface{}

if responseBody != nil && len(responseBody) != 0 {
if len(responseBody) != 0 {
err = json.Unmarshal(responseBody, &data)
if err != nil {
return nil, fmt.Errorf("failed to parse response with err: [%v]", err)
Expand Down

0 comments on commit 109e5d8

Please sign in to comment.