Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf/perf.go:101:10: assignment mismatch: 2 variables but 3 values #86

Open
nim-nim opened this issue Mar 26, 2018 · 0 comments
Open

perf/perf.go:101:10: assignment mismatch: 2 variables but 3 values #86

nim-nim opened this issue Mar 26, 2018 · 0 comments

Comments

@nim-nim
Copy link

nim-nim commented Mar 26, 2018

perf does not build with Go 1.10 x86_64

cd /builddir/build/BUILD/go-couchbase-a064ca416844fb169255a76fbdac7e80101b6049/_build/src/github.com/couchbase/go-couchbase/perf
/usr/lib/golang/pkg/tool/linux_amd64/compile -o $WORK/b001/_pkg_.a -trimpath $WORK/b001 -shared -p main -complete -installsuffix shared -bui
ldid xg8dqXZtFmAoDE_d3Yjw/xg8dqXZtFmAoDE_d3Yjw -goversion go1.10 -D "" -importcfg $WORK/b001/importcfg -pack ./generate-json.go ./perf.go
# github.com/couchbase/go-couchbase/perf
perf/perf.go:101:10: assignment mismatch: 2 variables but 3 values
perf/perf.go:101:22: not enough arguments in call to b.GetBulk
        have ([]string)
        want ([]string, time.Time, []string)
error: Bad exit status from /var/tmp/rpm-tmp.tCh9vC (%build)
@maniktaneja
Copy link
Contributor

The signature for GetBulk was changed at some point and this part of the code wasn't updated. You don't necessarily need to build the code under perf directory in order to build the client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants