File tree 4 files changed +7
-18
lines changed
4 files changed +7
-18
lines changed Original file line number Diff line number Diff line change 5
5
- osx
6
6
7
7
go :
8
- - " 1.10.x"
9
8
- " 1.11.x"
9
+ - " 1.12.x"
10
+ - " 1.13.x"
10
11
11
12
env :
12
13
- GO111MODULE=on
@@ -15,10 +16,10 @@ before_install:
15
16
- pip install --user -r tests/pip-req.txt
16
17
17
18
install :
18
- - go get -t -v ./...
19
19
- go get -u golang.org/x/tools/cmd/goimports
20
- - go get -u github.com/douban/gobeansdb
21
20
22
21
script :
23
22
- diff <(goimports -d .) <(printf "")
23
+ - make install
24
+ - go get -u github.com/douban/gobeansdb
24
25
- make test
Original file line number Diff line number Diff line change @@ -2,17 +2,6 @@ all:install
2
2
3
3
export PYTHONPATH =.
4
4
5
- # FIXME: When this issue is done(https://github.com/golang/go/issues/23965#issuecomment-409232583)
6
- # Determine the compiler and version
7
- COMPILER_HELP := $(shell $(CC ) --help | head -n 1)
8
- ifneq (,$(findstring clang,$(COMPILER_HELP ) ) )
9
- COMPILER = clang
10
- else ifneq (,$(findstring gcc,$(COMPILER_HELP)))
11
- COMPILER = gcc
12
- else
13
- COMPILER = unknown
14
- endif
15
-
16
5
test :
17
6
./misc/gobeansdb_server.sh start
18
7
go version
@@ -29,4 +18,4 @@ pytest:install
29
18
30
19
install :
31
20
GO111MODULE=on go mod vendor
32
- CC= $( COMPILER ) go install ./
21
+ go install ./
Original file line number Diff line number Diff line change @@ -4,8 +4,7 @@ A proxy for [Gobeansdb](https://github.com/douban/gobeansdb).
4
4
5
5
## Prepare
6
6
7
- GoBeansProxy use ` vgo ` manage dependencies, please install [ vgo] ( https://godoc.org/golang.org/x/vgo ) first.
8
- Supported Go version: 1.10.1+
7
+ Supported Go version: > 1.11.0
9
8
10
9
## Install
11
10
Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ func (sch *ManualScheduler) checkFailsForBucket(bucket *Bucket) {
255
255
} else {
256
256
logger .Infof (
257
257
"beansdb server %s in Bucket %X's Down while check fails , err is %s" ,
258
- hostBucket .host .Addr , bucket , err )
258
+ hostBucket .host .Addr , bucket . ID , err )
259
259
}
260
260
}
261
261
}
You can’t perform that action at this time.
0 commit comments