Skip to content

Commit e99df56

Browse files
committed
cleanup imports
1 parent 94df539 commit e99df56

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pkg/handlers/embedded_cluster_node_join_command.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"net/http"
77

88
"github.com/google/uuid"
9-
ecJoin "github.com/replicatedhq/embedded-cluster/kinds/types/join"
9+
"github.com/replicatedhq/embedded-cluster/kinds/types/join"
1010

1111
"github.com/replicatedhq/kots/pkg/embeddedcluster"
1212
"github.com/replicatedhq/kots/pkg/k8sutil"
@@ -192,7 +192,7 @@ func (h *Handler) GetEmbeddedClusterNodeJoinCommand(w http.ResponseWriter, r *ht
192192
logger.Info("no installed apps found")
193193
}
194194

195-
JSON(w, http.StatusOK, ecJoin.JoinCommandResponse{
195+
JSON(w, http.StatusOK, join.JoinCommandResponse{
196196
ClusterID: clusterUUID,
197197
K0sJoinCommand: k0sJoinCommand,
198198
K0sToken: k0sToken,

pkg/handlers/embedded_cluster_node_join_command_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ import (
55
"encoding/base64"
66
"encoding/json"
77
"fmt"
8-
"github.com/google/uuid"
9-
versionTypes "github.com/replicatedhq/kots/pkg/api/version/types"
10-
appTypes "github.com/replicatedhq/kots/pkg/app/types"
118
"net/http"
129
"net/http/httptest"
1310
"testing"
1411
"time"
1512

1613
gomock "github.com/golang/mock/gomock"
14+
"github.com/google/uuid"
1715
embeddedclusterv1beta1 "github.com/replicatedhq/embedded-cluster/kinds/apis/v1beta1"
1816
"github.com/replicatedhq/embedded-cluster/kinds/types/join"
17+
versionTypes "github.com/replicatedhq/kots/pkg/api/version/types"
18+
appTypes "github.com/replicatedhq/kots/pkg/app/types"
1919
"github.com/replicatedhq/kots/pkg/handlers/kubeclient"
2020
"github.com/replicatedhq/kots/pkg/store"
2121
mockstore "github.com/replicatedhq/kots/pkg/store/mock"

0 commit comments

Comments
 (0)