Skip to content

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

@eliottness

Description

@eliottness

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions