Skip to content

Commit 46afdd1

Browse files
committed
remove local testing
1 parent c819b99 commit 46afdd1

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

internal/controller/datasink_utils.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,6 @@ func (d *DataSinkCredentialsRetriever) GetDataSinkCredentials(ctx context.Contex
8989
return common.DataSinkCredentials{}, err
9090
}
9191

92-
localEnp := os.Getenv("LOCAL_DATASINK")
93-
if localEnp != "" {
94-
l.Info("Overriding DataSink endpoint with LOCAL_ENDPOINT environment variable.", "endpoint", localEnp)
95-
dataSink.Spec.Connection.Endpoint = localEnp
96-
}
9792
// Extract endpoint from DataSink
9893
endpoint := dataSink.Spec.Connection.Endpoint
9994

internal/orchestrator/orchestrator.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ const (
2929

3030
// APIVERSION Constant for k8s resource fields
3131
APIVERSION string = "apiVersion"
32-
33-
// NAME Constant for k8s resource fields
34-
CR_NAME string = "crName"
3532
)
3633

3734
// GenericHandler is used to monitor the metric

0 commit comments

Comments
 (0)