Skip to content
This repository was archived by the owner on May 8, 2026. It is now read-only.

Commit ddef144

Browse files
committed
Merge branch 'main' into PR #2663 to update
2 parents 54c3e77 + ae0f0ef commit ddef144

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/internal/csm/exporter/BigtableCloudMonitoringExporter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ public void onFailure(Throwable throwable) {
194194
RuntimeException asyncWrapper = new RuntimeException("export failed", throwable);
195195
asyncWrapper.setStackTrace(stackTrace);
196196

197-
if (state.get() != State.Closing || state.get() != State.Closed) {
197+
if (state.get() != State.Closing && state.get() != State.Closed) {
198198
// ignore the export warning when client is shutting down
199199
LOGGER.log(Level.WARNING, msg, asyncWrapper);
200200
}

0 commit comments

Comments
 (0)