Client-go: Build Failure

Created on 10 Aug 2018  路  2Comments  路  Source: kubernetes/client-go

I'm trying to build my code through docker build, and I've been doing it successfully, and today suddenly I get this error:
/k8s.io/client-go/transport/round_trippers.go:437:9: undefined: strings.Builder
What can be the issue.

Most helpful comment

What can be the issue.

@talhairfanbentley are you using Go version 1.10 or higher?

The strings.Builder change was introduced recently and also broke our bot: see https://github.com/kubernetes/publishing-bot/pull/74. Updating your go version should solve the problem.

All 2 comments

What can be the issue.

@talhairfanbentley are you using Go version 1.10 or higher?

The strings.Builder change was introduced recently and also broke our bot: see https://github.com/kubernetes/publishing-bot/pull/74. Updating your go version should solve the problem.

thanks,, fixed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alexec picture alexec  路  5Comments

mheese picture mheese  路  5Comments

inetkiller picture inetkiller  路  6Comments

antoineco picture antoineco  路  6Comments

yashbhutwala picture yashbhutwala  路  4Comments