Skip to content

Commit

Permalink
Merge pull request #24 from matskiv/main
Browse files Browse the repository at this point in the history
fix: build issues in hooks example
  • Loading branch information
FabianKramm authored Jun 9, 2022
2 parents c047037 + 1e8715d commit 5f9a38d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/hooks/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions examples/hooks/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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 => ../../
2 changes: 2 additions & 0 deletions examples/hooks/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down

0 comments on commit 5f9a38d

Please sign in to comment.