Merge pull request #1125 from wknet123/dev-change-dir

Change cert dir path.
This commit is contained in:
Wenkai Yin 2016-11-18 17:53:49 +08:00 committed by GitHub
commit 163e43a329
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ type SystemInfoAPI struct {
} }
const harborStoragePath = "/harbor_storage" const harborStoragePath = "/harbor_storage"
const defaultRootCert = "/harbor_storage/ca-download-dir/ca.crt" const defaultRootCert = "/harbor_storage/ca_download/ca.crt"
//SystemInfo models for system info. //SystemInfo models for system info.
type SystemInfo struct { type SystemInfo struct {

View File

@ -34,7 +34,7 @@ const (
viewPath = "sections" viewPath = "sections"
prefixNg = "" prefixNg = ""
defaultLang = "en-US" defaultLang = "en-US"
defaultRootCert = "/harbor_storage/ca-download-dir/ca.crt" defaultRootCert = "/harbor_storage/ca_download/ca.crt"
) )
var supportLanguages map[string]langType var supportLanguages map[string]langType