mirror of
https://github.com/project-zot/zot.git
synced 2024-12-23 22:27:35 -05:00
a57f085749
zot ci/cd tests are too stict, so separate and relax them for compliance tests. Location header is set in some cases, but some clarification is needed in URL construction. Fix some incorrect compliance tests.
13 lines
198 B
Go
13 lines
198 B
Go
package compliance
|
|
|
|
type Config struct {
|
|
Address string
|
|
Port string
|
|
Version string
|
|
OutputJSON bool
|
|
Compliance bool
|
|
}
|
|
|
|
func NewConfig() *Config {
|
|
return &Config{Compliance: true}
|
|
}
|