mirror of
https://github.com/goharbor/harbor.git
synced 2025-04-04 02:55:48 +02:00
fix merge issue
This commit is contained in:
parent
383997f785
commit
753a544294
@ -9,7 +9,7 @@ import (
|
|||||||
|
|
||||||
"github.com/astaxie/beego"
|
"github.com/astaxie/beego"
|
||||||
"github.com/beego/i18n"
|
"github.com/beego/i18n"
|
||||||
"github.com/vmware/harbor/src/common/config"
|
"github.com/vmware/harbor/src/common"
|
||||||
"github.com/vmware/harbor/src/common/dao"
|
"github.com/vmware/harbor/src/common/dao"
|
||||||
"github.com/vmware/harbor/src/common/models"
|
"github.com/vmware/harbor/src/common/models"
|
||||||
"github.com/vmware/harbor/src/common/utils"
|
"github.com/vmware/harbor/src/common/utils"
|
||||||
@ -113,7 +113,7 @@ func (cc *CommonController) SendEmail() {
|
|||||||
|
|
||||||
message := new(bytes.Buffer)
|
message := new(bytes.Buffer)
|
||||||
|
|
||||||
harborURL := config.ExtEndpoint
|
harborURL := common.ExtEndpoint
|
||||||
if harborURL == "" {
|
if harborURL == "" {
|
||||||
harborURL = "localhost"
|
harborURL = "localhost"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user