Skip to content

Commit

Permalink
Merge pull request #37 from cita-cloud/develop
Browse files Browse the repository at this point in the history
fix: update build
  • Loading branch information
acechef authored Apr 29, 2022
2 parents f84da55 + 602ede3 commit c75049a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GO_BUILD = $(GO_CMD) build
GO_CMD = $(GO_ENV) go

DEV_IMG ?= registry.devops.rivtower.com/cita-cloud/operator/operator-proxy:v0.0.1
DEV_IMG ?= registry.devops.rivtower.com/cita-cloud/operator/operator-proxy:v0.0.3
IMG ?= citacloud/operator-proxy

VERSION=$(shell git describe --tags --match 'v*' --always --dirty)
Expand Down
4 changes: 2 additions & 2 deletions server/service/allinone/all_in_one_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,11 @@ func (a allInOneServer) Create(ctx context.Context, request *pb.AllInOneCreateRe
nodeAccountNameList = append(nodeAccountNameList, nodeAccountName)
}
// wait admin account && node account in chain status
err = wait.Poll(3*time.Second, 10*time.Second, func() (done bool, err error) {
err = wait.Poll(3*time.Second, 30*time.Second, func() (done bool, err error) {
return a.checkChainAccount(ctx, request.GetNamespace(), request.GetName(), request.GetNodeCount())
})
if err != nil {
return nil, status.Errorf(codes.Internal, "failed to create node account: %v", err)
return nil, status.Errorf(codes.Internal, "failed to wait all node account created: %v", err)
}

// set chain online
Expand Down

0 comments on commit c75049a

Please sign in to comment.