Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
Signed-off-by: erikbaranowski <[email protected]>
  • Loading branch information
erikbaranowski committed Feb 1, 2024
1 parent b19a2fb commit ebafa1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/integrations/v2/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ func MarshalYAML(v interface{}) (interface{}, error) {
}

if _, exists := uniqueSingletons[fieldName]; exists && integrationType == TypeSingleton {
return nil, fmt.Errorf("integration %q may not be defined more than once", fieldName)
return nil, fmt.Errorf("integration %q may not be defined more than once", fieldName)
}
uniqueSingletons[fieldName] = struct{}{}

Expand Down

0 comments on commit ebafa1c

Please sign in to comment.