registry/ecr.go
Function getAWSCredentials
has 6 return statements (exceeds 4 allowed). Open
Open
func getAWSCredentials(
env environment.Environment,
registry *config.ECRRegistry,
) (*awsCredentials, error) {
accessKeyID, err := env.ExpandString(registry.AccessKeyID)
Function newECRLogin
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ctx context.Context,
logger logging.Logger,
env environment.Environment,
registry *config.ECRRegistry,
runner command.Runner,
exported function NewECRLogin should have comment or be unexported Open
Open
func NewECRLogin(
- Exclude checks
exported const ECRServerFormat should have comment (or a comment on this block) or be unexported Open
Open
ECRServerFormat = "https://%s.dkr.ecr.%s.amazonaws.com"
- Exclude checks