From 1e8715d583ac93a11ff803c6e2999ee364985714 Mon Sep 17 00:00:00 2001 From: Oleg Matskiv Date: Wed, 8 Jun 2022 19:38:52 +0200 Subject: [PATCH] fix: build issues in hooks example --- examples/hooks/Dockerfile | 2 +- examples/hooks/go.mod | 2 -- examples/hooks/go.sum | 2 ++ 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/hooks/Dockerfile b/examples/hooks/Dockerfile index 13a8995e..066dfc2e 100644 --- a/examples/hooks/Dockerfile +++ b/examples/hooks/Dockerfile @@ -8,7 +8,7 @@ WORKDIR vcluster COPY . . # Install dependencies -#RUN go mod vendor +RUN go mod vendor # Build cmd RUN CGO_ENABLED=0 GO111MODULE=on go build -mod vendor -o /plugin main.go diff --git a/examples/hooks/go.mod b/examples/hooks/go.mod index b65dc559..3af0ca71 100644 --- a/examples/hooks/go.mod +++ b/examples/hooks/go.mod @@ -97,5 +97,3 @@ require ( sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect sigs.k8s.io/yaml v1.3.0 // indirect ) - -replace github.com/loft-sh/vcluster-sdk => ../../ diff --git a/examples/hooks/go.sum b/examples/hooks/go.sum index f8db4ad1..ae9b0b1b 100644 --- a/examples/hooks/go.sum +++ b/examples/hooks/go.sum @@ -372,6 +372,8 @@ github.com/kubernetes-csi/external-snapshotter/client/v4 v4.2.0/go.mod h1:YBCo4D github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de h1:9TO3cAIGXtEhnIaL+V+BEER86oLrvS+kWobKpbJuye0= github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de/go.mod h1:zAbeS9B/r2mtpb6U+EI2rYA5OAXxsYw6wTamcNW+zcE= github.com/lithammer/dedent v1.1.0/go.mod h1:jrXYCQtgg0nJiN+StA2KgR7w6CiQNv9Fd/Z9BP0jIOc= +github.com/loft-sh/vcluster-sdk v0.2.0-beta.1 h1:GIJ6CXwe9McFtxUVhiG0qScFZWi/bBi+koStAL1eA/I= +github.com/loft-sh/vcluster-sdk v0.2.0-beta.1/go.mod h1:HdQ75vqJuqiHiCtX+bmRAN9ZrCFimeYfQ5vKX1hEx2o= github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= github.com/magiconair/properties v1.8.5/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=