From 06e3c44d8fe697f3ab278cdcca4caedb8c2c3bbb Mon Sep 17 00:00:00 2001 From: Dave Worth Date: Tue, 12 Dec 2023 13:11:34 -0700 Subject: [PATCH] fixup transposition typos in remediation package Signed-off-by: Dave Worth --- remediation/remediations.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/remediation/remediations.go b/remediation/remediations.go index 6d49e421280..3a737490099 100644 --- a/remediation/remediations.go +++ b/remediation/remediations.go @@ -61,7 +61,7 @@ func New(c *checker.CheckRequest) (*RemediationMetadata, error) { return &RemediationMetadata{Branch: branch, Repo: repo}, nil } -// CreateWorkflowPinningRemediation create remediaiton for pinninn GH Actions. +// CreateWorkflowPinningRemediation create remediation for pinning GH Actions. func (r *RemediationMetadata) CreateWorkflowPinningRemediation(filepath string) *rule.Remediation { return r.createWorkflowRemediation(filepath, "pin") } @@ -100,7 +100,7 @@ func (c CraneDigester) Digest(name string) (string, error) { return crane.Digest(name) } -// CreateDockerfilePinningRemediation create remediaiton for pinning Dockerfile images. +// CreateDockerfilePinningRemediation create remediation for pinning Dockerfile images. func CreateDockerfilePinningRemediation(dep *checker.Dependency, digester Digester) *rule.Remediation { name, ok := dockerImageName(dep) if !ok {