Skip to content

Commit

Permalink
Test linting
Browse files Browse the repository at this point in the history
Signed-off-by: Alper Rifat Ulucinar <[email protected]>
  • Loading branch information
ulucinar committed Mar 12, 2024
1 parent 0bedfe3 commit 0998e34
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config/externalnamenottested.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Copyright 2022 Upbound Inc.
package config

import (
"crypto/rand"

"github.com/crossplane/upjet/pkg/config"
)

Expand Down Expand Up @@ -744,3 +746,9 @@ var ExternalNameNotTestedConfigs = map[string]config.ExternalName{
// Transcribe MedicalVocabulary can be imported using the vocabulary_name
"aws_transcribe_medical_vocabulary": config.ParameterAsIdentifier("vocabulary_name"),
}

func init() {
if false {
rand.Int(nil, nil)

Check failure on line 752 in config/externalnamenottested.go

View workflow job for this annotation

GitHub Actions / lint

Error return value of `rand.Int` is not checked (errcheck)
}
}

0 comments on commit 0998e34

Please sign in to comment.