Skip to content

Commit d07e2e6

Browse files
fix: double import
1 parent 18e6d7a commit d07e2e6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

internal/controllers/scheduler/controller.go

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

2424
clustersv1alpha1 "github.com/openmcp-project/openmcp-operator/api/clusters/v1alpha1"
2525
cconst "github.com/openmcp-project/openmcp-operator/api/clusters/v1alpha1/constants"
26-
"github.com/openmcp-project/openmcp-operator/api/common"
2726
apiconst "github.com/openmcp-project/openmcp-operator/api/constants"
2827
"github.com/openmcp-project/openmcp-operator/internal/config"
2928

@@ -252,7 +251,7 @@ func (r *ClusterScheduler) handleCreateOrUpdate(ctx context.Context, req reconci
252251
}
253252

254253
// add cluster reference to request
255-
rr.Object.Status.Cluster = &common.ObjectReference{}
254+
rr.Object.Status.Cluster = &commonapi.ObjectReference{}
256255
rr.Object.Status.Cluster.Name = cluster.Name
257256
rr.Object.Status.Cluster.Namespace = cluster.Namespace
258257

0 commit comments

Comments
 (0)