Skip to content

Commit

Permalink
Merge pull request #65 from SimonCqk/fix_electid
Browse files Browse the repository at this point in the history
fix election id and add CI env when run `make test`.
  • Loading branch information
tzzcfrank authored Oct 12, 2020
2 parents e68b2ee + cc819c2 commit 6033305
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ all: manager

# Run tests
test: generate fmt vet manifests
go test ./... -coverprofile cover.out
KUBEDL_CI=true go test ./... -coverprofile cover.out

# Build manager binary
manager: generate fmt vet
Expand Down
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ func main() {
Scheme: scheme,
MetricsBindAddress: ctrlMetricsAddr,
LeaderElection: enableLeaderElection,
LeaderElectionID: "kubedl-election",
Port: 9443,
})
if err != nil {
Expand Down

0 comments on commit 6033305

Please sign in to comment.