Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
node: Fix logging for skipped refs
✗ CI failure cloudhead committed 2 years ago
commit 51e64cfa8b291d87cd055d46759be1d7f2c164b8
parent a5212a7a88f845550461b7691337a14ae9643e42
1 failed (1 total) View logs
1 file changed +3 -3
modified radicle-node/src/service.rs
@@ -1006,10 +1006,10 @@ where
                info!(target: "service", "Fetched {rid} from {remote} successfully");

                for update in &updated {
-
                    if update.old() != update.new() {
-
                        debug!(target: "service", "Ref updated: {update} for {rid}");
-
                    } else {
+
                    if update.is_skipped() {
                        trace!(target: "service", "Ref skipped: {update} for {rid}");
+
                    } else {
+
                        debug!(target: "service", "Ref updated: {update} for {rid}");
                    }
                }
                self.emitter.emit(Event::RefsFetched {