diff --git a/pkg/cmd/attestation/download/download.go b/pkg/cmd/attestation/download/download.go index 661a22d69..1c2aa6f10 100644 --- a/pkg/cmd/attestation/download/download.go +++ b/pkg/cmd/attestation/download/download.go @@ -175,7 +175,7 @@ func createMetadataFile(attestationsResp []*api.Attestation, filePath string) (s } if err = f.Close(); err != nil { - return "", fmt.Errorf("failed ot close file after writing metadata: %w", err) + return "", fmt.Errorf("failed to close file after writing metadata: %w", err) } return filePath, nil