kubevirt: go-client example is not working on kubevirt go-client v0.27.0

Is this a BUG REPORT or FEATURE REQUEST?: /kind bug

What happened: listvms with go-client version v0.27.0 not working correctly. But it works fine in v0.26.0.

# kubevirt.io/client-go/log
../../../../pkg/mod/kubevirt.io/client-go@v0.27.0/log/log.go:72:25: undefined: log.Context

What you expected to happen: listing vms.

How to reproduce it (as minimally and precisely as possible): Just using kubevirt.io/client-go package with version v0.27.0

Anything else we need to know?: NONE

Environment:

  • KubeVirt version (use virtctl version):
  • Kubernetes version (use kubectl version):
  • VM or VMI specifications:
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (10 by maintainers)

Most upvoted comments

Oh now I see it. We have this extra go.mod file in the example directory. That is not right. Thanks! 👍