Skip to content

Commit 7fc9a38

Browse files
Merge pull request openshift#273 from shiftstack/mockgen
UPSTREAM 1712: Add explicit dependency on github.com/golang/mock/mock…
2 parents f0ebc45 + 7f668ce commit 7fc9a38

File tree

3 files changed

+502
-0
lines changed

3 files changed

+502
-0
lines changed

pkg/clients/mock/doc.go

+6
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ limitations under the License.
1616

1717
package mock
1818

19+
import (
20+
// Runtime dependency of mockgen, required when using vendoring so go mod knows
21+
// to pull it in.
22+
_ "github.com/golang/mock/mockgen/model"
23+
)
24+
1925
//go:generate mockgen -package mock -destination=compute.go sigs.k8s.io/cluster-api-provider-openstack/pkg/clients ComputeClient
2026
//go:generate /usr/bin/env bash -c "cat ../../../hack/boilerplate/boilerplate.generatego.txt compute.go > _compute.go && mv _compute.go compute.go"
2127

0 commit comments

Comments
 (0)