mirror of
https://github.com/goharbor/harbor.git
synced 2024-07-01 17:25:06 +02:00
fix GetIsInsecure
This commit is contained in:
parent
35407d12db
commit
aab3dfee4e
|
@ -213,5 +213,5 @@ func (b *BaseAPI) GetPaginationParams() (page, pageSize int64) {
|
|||
|
||||
// GetIsInsecure ...
|
||||
func GetIsInsecure() bool {
|
||||
return config.VerifyRemoteCert()
|
||||
return !config.VerifyRemoteCert()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user