Skip to content
Prev Previous commit
fix(conf): rename TRIVY_NONSSL to TRIVY_NON_SSL
  • Loading branch information
knqyf263 committed Apr 15, 2020
commit ecac6b249673401849ddd1971470e4e3bed9cd75
2 changes: 1 addition & 1 deletion pkg/types/docker_conf.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ type DockerConfig struct {
UserName string `env:"TRIVY_USERNAME"`
Password string `env:"TRIVY_PASSWORD"`
Insecure bool `env:"TRIVY_INSECURE" envDefault:"false"`
NonSSL bool `env:"TRIVY_NONSSL" envDefault:"false"`
NonSSL bool `env:"TRIVY_NON_SSL" envDefault:"false"`
}

func GetDockerOption(timeout time.Duration) (types.DockerOption, error) {
Expand Down