snuyanzin commented on code in PR #33:
URL: 
https://github.com/apache/flink-connector-gcp-pubsub/pull/33#discussion_r1820768938


##########
flink-connector-gcp-pubsub/src/main/java/org/apache/flink/connector/gcp/pubsub/sink/config/GcpPublisherConfig.java:
##########
@@ -52,7 +52,11 @@ public CredentialsProvider getCredentialsProvider() {
     }
 
     public TransportChannelProvider getTransportChannelProvider() {
+        if (transportChannelProvider == null) {
+            return null;
+        }
         return transportChannelProvider.getTransportChannelProvider();
+

Review Comment:
   
   ```suggestion
   ```
   nit: i guess we don't need this line



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to