Skip to content

Commit

Permalink
merge master
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Loiselle <[email protected]>
  • Loading branch information
arththebird committed Jul 2, 2024
2 parents 51c773a + ae93265 commit edbd20a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions internal/controller/workspace/workspace.go
Original file line number Diff line number Diff line change
Expand Up @@ -236,11 +236,6 @@ func (c *connector) Connect(ctx context.Context, mg resource.Managed) (managed.E

switch cr.Spec.ForProvider.Source {
case v1beta1.ModuleSourceRemote:
// Workaround of https://github.com/hashicorp/go-getter/issues/114
if err := c.fs.RemoveAll(dir); err != nil {
return nil, errors.Wrap(err, errRemoteModule)
}

gc := getter.Client{
Src: cr.Spec.ForProvider.Module,
Dst: dir,
Expand Down

0 comments on commit edbd20a

Please sign in to comment.