Fix %s/{} mixups.
Change-Id: I916996e17839a61802a83ddff31d162ac662f934
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
try {
Files.move(temp.toPath(), actual.toPath(), StandardCopyOption.ATOMIC_MOVE);
} catch (IOException e) {
try {
Files.move(temp.toPath(), actual.toPath(), StandardCopyOption.ATOMIC_MOVE);
} catch (IOException e) {
- LOG.warn("Failed to move %s to %s. Deleting %s..", temp, actual, temp, e);
+ LOG.warn("Failed to move {} to {}. Deleting {}..", temp, actual, temp, e);
if (!temp.delete()) {
LOG.error("Failed to successfully delete file {}", temp);
}
if (!temp.delete()) {
LOG.error("Failed to successfully delete file {}", temp);
}
dataTree.commit(candidate);
notifyListeners(candidate);
dataTree.commit(candidate);
notifyListeners(candidate);
- LOG.debug("{}: state snapshot applied in %s", logContext, elapsed);
+ LOG.debug("{}: state snapshot applied in {}", logContext, elapsed);