Skip to content

Commit

Permalink
Ignore nil values for metadata column.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Jul 11, 2024
1 parent af697a5 commit 0202b10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mapper/workflow_run.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func MapToMachineStats(data map[string]interface{}) (*drip.MachineStats, error)
var ms drip.MachineStats

if data == nil {
return nil, fmt.Errorf("input data map is nil")
return nil, nil
}

// Helper function to get string pointers from the map
Expand Down

0 comments on commit 0202b10

Please sign in to comment.