Skip to content

Commit

Permalink
Merge pull request #11 from build-security/gob-errors
Browse files Browse the repository at this point in the history
Fix gob registration errors.
  • Loading branch information
yashtewari authored Nov 16, 2021
2 parents 5cf562a + 6cc2ae5 commit 3516913
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions kubebeat/beater/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,8 @@ func copy(m map[string]interface{}) (map[string]interface{}, error) {
}
return copy, nil
}

func init() {
gob.Register([]interface{}{})
gob.Register(map[string]Process{})
}

0 comments on commit 3516913

Please sign in to comment.