Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/operator-sdk/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func checkDepManager(dm projutil.DepManagerType) error {
}
if !goModOn {
return fmt.Errorf(`dependency manager "modules" requires working directory to be in $GOPATH/src` +
` and GO111MODULE=on, or outside of $GOPATH/src and GO111MODULE="on", "auto", or unset`)
` and GO111MODULE=on, or outside of $GOPATH/src and GO111MODULE="on", "auto", or unset. More info: https://github.com/operator-framework/operator-sdk/blob/master/doc/user-guide.md#go-modules`)
}
case projutil.DepManagerDep:
inGopathSrc, err := projutil.WdInGoPathSrc()
Expand Down
2 changes: 1 addition & 1 deletion cmd/operator-sdk/new/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func doGoScaffold() error {
return merr
} else if !goModOn {
return errors.New(`dependency manager "modules" requires working directory to be in $GOPATH/src` +
` and GO111MODULE=on, or outside of $GOPATH/src and GO111MODULE="on", "auto", or unset`)
` and GO111MODULE=on, or outside of $GOPATH/src and GO111MODULE="on", "auto", or unset. More info: https://github.com/operator-framework/operator-sdk/blob/master/doc/user-guide.md#go-modules`)
}
err = s.Execute(cfg, &scaffold.GoMod{}, &scaffold.Tools{})
default:
Expand Down