Skip to content
This repository was archived by the owner on Nov 20, 2024. It is now read-only.

Commit 6c48b90

Browse files
committed
chore: import packages only once
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
1 parent acbfacd commit 6c48b90

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

workspacehelper/workspace_helper.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import (
1313

1414
"github.com/go-logr/logr"
1515
"github.com/hashicorp/go-tfe"
16-
tfc "github.com/hashicorp/go-tfe"
1716
appv1alpha1 "github.com/hashicorp/terraform-k8s/api/v1alpha1"
1817
corev1 "k8s.io/api/core/v1"
1918
"k8s.io/apimachinery/pkg/api/errors"
@@ -374,7 +373,7 @@ func (r *WorkspaceHelper) prepareModuleRun(instance *appv1alpha1.Workspace, opti
374373
if err != nil {
375374
return true, err
376375
}
377-
if !(configVersion.Status == tfc.ConfigurationUploaded) {
376+
if !(configVersion.Status == tfe.ConfigurationUploaded) {
378377
return true, err
379378
}
380379

0 commit comments

Comments
 (0)