Skip to content

Commit bc804b5

Browse files
authored
Set refreshError to false if ExternalMapping has not changed (#302)
1 parent abefc87 commit bc804b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sawmill-core/src/main/java/io/logz/sawmill/processors/ExternalMappingSourceProcessor.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ protected void refreshExternalMapping() {
7272
ExternalMappingResponse externalMappingResponse = externalMappingsClient.loadMappings(lastModifiedTime.get());
7373
if (!externalMappingResponse.isModified()) {
7474
logger.debug("External mapping didn't change since {}. Skipping refresh.", lastModifiedTime.get());
75+
refreshErrorOccurred = false;
7576
return;
7677
}
7778

0 commit comments

Comments
 (0)