From aab3dfee4e1f2814f15d418b3beb6ed63cfdc866 Mon Sep 17 00:00:00 2001 From: Tan Jiang Date: Fri, 18 Nov 2016 19:13:23 +0800 Subject: [PATCH] fix GetIsInsecure --- src/common/api/base.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/api/base.go b/src/common/api/base.go index 94375db43..53d916849 100644 --- a/src/common/api/base.go +++ b/src/common/api/base.go @@ -213,5 +213,5 @@ func (b *BaseAPI) GetPaginationParams() (page, pageSize int64) { // GetIsInsecure ... func GetIsInsecure() bool { - return config.VerifyRemoteCert() + return !config.VerifyRemoteCert() }