orchestrion icon indicating copy to clipboard operation
orchestrion copied to clipboard

[BUG] go: 'go mod vendor' cannot be run in workspace mode

Open eliottness opened this issue 9 months ago • 0 comments

Version of orchestrion v1.1.0

Describe what happened:

I cloned https://github.com/DataDog/kubernetes and ran orchestrion pin and this error appeared up:

go: 'go mod vendor' cannot be run in workspace mode. Run 'go work vendor' to vendor the workspace or set 'GOWORK=off' to exit workspace mode.
editing "/home/eliott/go/src/github.com/DataDog/kubernetes/go.mod": running `go mod vendor`: exit status 1

Describe what you expected:

I expected the command orchestrion pin to work.

Steps to reproduce the issue:

  1. git clone https://github.com/DataDog/kubernetes
  2. cd kubernetes/
  3. orchestrion pin

Additional environment details (Version of Go, Operating System, etc.):

  • Ubuntu 22
  • Go 1.24.0

eliottness avatar Mar 13 '25 14:03 eliottness