mirror of
https://github.com/usatiuk/dhfs.git
synced 2025-10-28 20:47:49 +01:00
don't put empty entries into changelogs
This commit is contained in:
@@ -113,9 +113,10 @@ public class ObjectMetadata implements Serializable {
|
||||
|
||||
for (var h : all) {
|
||||
var logEntry = ObjectChangelogEntry.newBuilder();
|
||||
if (!_changelog.containsKey(h))
|
||||
continue;
|
||||
logEntry.setHost(h.toString());
|
||||
if (_changelog.containsKey(h))
|
||||
logEntry.setVersion(_changelog.get(h));
|
||||
logEntry.setVersion(_changelog.get(h));
|
||||
changelogBuilder.addEntries(logEntry.build());
|
||||
}
|
||||
return changelogBuilder.build();
|
||||
|
||||
Reference in New Issue
Block a user