Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
postgres-operator
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
zalando
postgres-operator
Commits
e74b1bd3
Unverified
Commit
e74b1bd3
authored
Sep 14, 2021
by
Wolfgang Ebner
Committed by
GitHub
Sep 14, 2021
Browse files
Options
Downloads
Patches
Plain Diff
use relative path instead of $PWD for go:generate (for go 1.17 compatibility) (#1615)
parent
458d7a11
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
pkg/util/httpclient/httpclient.go
+1
-1
1 addition, 1 deletion
pkg/util/httpclient/httpclient.go
pkg/util/volumes/volumes.go
+1
-1
1 addition, 1 deletion
pkg/util/volumes/volumes.go
with
2 additions
and
2 deletions
pkg/util/httpclient/httpclient.go
+
1
−
1
View file @
e74b1bd3
package
httpclient
//go:generate mockgen -package mocks -destination=
$PWD
/mocks/$GOFILE -source=$GOFILE -build_flags=-mod=vendor
//go:generate mockgen -package mocks -destination=
../../..
/mocks/$GOFILE -source=$GOFILE -build_flags=-mod=vendor
import
"net/http"
...
...
This diff is collapsed.
Click to expand it.
pkg/util/volumes/volumes.go
+
1
−
1
View file @
e74b1bd3
package
volumes
//go:generate mockgen -package mocks -destination=
$PWD
/mocks/$GOFILE -source=$GOFILE -build_flags=-mod=vendor
//go:generate mockgen -package mocks -destination=
../../..
/mocks/$GOFILE -source=$GOFILE -build_flags=-mod=vendor
import
v1
"k8s.io/api/core/v1"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment