Skip to content

Commit

Permalink
return
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandInguva committed May 3, 2024
1 parent 0847cf5 commit 1e7312c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ public static void validateAuthOptions(KafkaToGcsOptions options) {
// the dataflow pipeline and Kafka broker is on the same network.
if (options.getUserNameSecretID().isBlank() && options.getPasswordSecretID().isBlank()) {
useKafkaAuth = false;
return;

Check warning on line 279 in v2/kafka-to-gcs/src/main/java/com/google/cloud/teleport/v2/templates/KafkaToGcs2.java

View check run for this annotation

Codecov / codecov/patch

v2/kafka-to-gcs/src/main/java/com/google/cloud/teleport/v2/templates/KafkaToGcs2.java#L279

Added line #L279 was not covered by tests
}

if ((options.getUserNameSecretID().isBlank() && !options.getPasswordSecretID().isBlank())
Expand Down

0 comments on commit 1e7312c

Please sign in to comment.