로그 추가
This commit is contained in:
@ -7,6 +7,7 @@ import (
|
||||
"strings"
|
||||
"sync"
|
||||
|
||||
"repositories.action2quare.com/ayo/gocommon/logger"
|
||||
"repositories.action2quare.com/ayo/houston/shared"
|
||||
"repositories.action2quare.com/ayo/houston/shared/protos"
|
||||
)
|
||||
@ -209,6 +210,7 @@ func (os *operationServer) ReportDeployingProgress(ctx context.Context, dp *prot
|
||||
os.db.Lock()
|
||||
defer os.db.Unlock()
|
||||
|
||||
logger.Println("ReportDeployingProgress :", dp.Hostname, dp.Name, dp.Version, dp.State, dp.Progress, dp.Total)
|
||||
for i, p := range os.db.progs {
|
||||
if p.Hostname == dp.Hostname && p.Name == dp.Name && p.Version == dp.Version {
|
||||
if dp.State == "done" {
|
||||
|
||||
Reference in New Issue
Block a user