From 0202b10106a5fd913d6c6d681c402674410cc6cc Mon Sep 17 00:00:00 2001 From: Robin Huang Date: Thu, 11 Jul 2024 14:12:40 -0700 Subject: [PATCH] Ignore nil values for metadata column. --- mapper/workflow_run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapper/workflow_run.go b/mapper/workflow_run.go index 6c3fbfd..dc97344 100644 --- a/mapper/workflow_run.go +++ b/mapper/workflow_run.go @@ -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