Skip to content

Commit c819b99

Browse files
committed
update datasink
1 parent 2f51a6a commit c819b99

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

internal/controller/datasink_utils.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,9 @@ func (d *DataSinkCredentialsRetriever) GetDataSinkCredentials(ctx context.Contex
9191

9292
localEnp := os.Getenv("LOCAL_DATASINK")
9393
if localEnp != "" {
94-
l.Info("Using LOCAL_DATASINK environment variable for DataSink endpoint.", "endpoint", localEnp)
94+
l.Info("Overriding DataSink endpoint with LOCAL_ENDPOINT environment variable.", "endpoint", localEnp)
9595
dataSink.Spec.Connection.Endpoint = localEnp
9696
}
97-
9897
// Extract endpoint from DataSink
9998
endpoint := dataSink.Spec.Connection.Endpoint
10099

0 commit comments

Comments
 (0)