Skip to content

Commit 8d6cea3

Browse files
committed
fix conflicts
1 parent 36b58ef commit 8d6cea3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

backend/internal/activities/deployer_activities.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -830,11 +830,11 @@ func retrieveKubeconfig(ctx context.Context, state ewf.State, db models.DB, file
830830
return existingCluster.Kubeconfig, nil
831831
}
832832

833-
if existingCluster.ID != 0 {
834-
if data, err := fileStorage.ReadKubeconfigFile(config.UserID, existingCluster.ID, existingCluster.ProjectName); err == nil && len(data) > 0 {
835-
return string(data), nil
836-
}
833+
if existingCluster.ID != 0 {
834+
if data, err := fileStorage.ReadKubeconfigFile(config.UserID, existingCluster.ID, existingCluster.ProjectName); err == nil && len(data) > 0 {
835+
return string(data), nil
837836
}
837+
}
838838

839839
privateKeyBytes, err := os.ReadFile(privateKeyPath)
840840
if err != nil {

0 commit comments

Comments
 (0)