You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(agent-smith): add custom JSON marshaling for Duration in filesystem config
- Add Duration wrapper type with custom JSON marshaling/unmarshaling
- Fixes error: 'cannot unmarshal string into Go struct field scanInterval of type time.Duration'
- Allows scanInterval to be specified as string like '5m' in JSON config
- Update agent.go to extract Duration.Duration when creating detector config
- Resolves runtime config parsing error in Kubernetes deployment
Co-authored-by: Ona <[email protected]>
0 commit comments