1
0
mirror of https://github.com/goharbor/harbor.git synced 2025-03-28 06:15:56 +01:00

fix issue in travis

This commit is contained in:
Tan Jiang 2016-06-01 13:28:02 +08:00
parent c18fb10f80
commit bd223796b4
2 changed files with 2 additions and 2 deletions

View File

@ -111,7 +111,7 @@ create table replication_policy (
enabled tinyint(1) NOT NULL DEFAULT 1,
description text,
cron_str varchar(256),
start_time timestamp,
start_time timestamp NULL,
creation_time timestamp default CURRENT_TIMESTAMP,
update_time timestamp default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
PRIMARY KEY (id)

View File

@ -154,7 +154,7 @@ func getRepoList(projectID int64) ([]string, error) {
client := &http.Client{}
req, err := http.NewRequest("GET", uiURL+"/api/repositories?project_id="+strconv.Itoa(int(projectID)), nil)
if err != nil {
log.Errorf("Error when creating request: %v")
log.Errorf("Error when creating request: %v", err)
return nil, err
}
//req.SetBasicAuth(uiUser, uiPwd)