Skip to content

Commit

Permalink
spelling fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Hacks4Snacks committed Jul 26, 2024
1 parent b428352 commit 074298d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/plugins/trivy/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ func (c Config) setResourceLimit(configKey string, k8sResourceList *corev1.Resou
return fmt.Errorf("parsing resource definition %s: %s %w", configKey, value, err)
}

// Ensure memory and ephemerial storage is set in valid units and the value is positive
// Ensure memory and ephemeral storage is set in valid units and the value is positive
if k8sResourceName == corev1.ResourceMemory || k8sResourceName == corev1.ResourceEphemeralStorage {
allowedUnits := []string{"Ki", "Mi", "Gi", "Ti", "Pi", "Ei", "K", "M", "G", "T", "P", "E"}
valid := false
Expand Down

0 comments on commit 074298d

Please sign in to comment.