Skip to content

Commit

Permalink
Merge pull request #60221 from SweetVishnya:rpc-profiler-client-nullptr
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 523138447
  • Loading branch information
tensorflower-gardener committed Apr 10, 2023
2 parents 72dc817 + 232683a commit 1db935a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tensorflow/tsl/profiler/rpc/client/profiler_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ std::unique_ptr<typename T::Stub> CreateStub(
service_address, ::grpc::InsecureChannelCredentials(), channel_args);
if (!channel) {
LOG(ERROR) << "Unable to create channel" << service_address;
return nullptr;
}
return T::NewStub(channel);
}
Expand Down

0 comments on commit 1db935a

Please sign in to comment.