Skip to content

Commit

Permalink
fix(IpfsServer): webui prefers "n/a" for latency
Browse files Browse the repository at this point in the history
  • Loading branch information
richardschneider committed Aug 22, 2019
1 parent c9d16d0 commit d422e8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IpfsServer/HttpApi/V0/SwamController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public ConnectedPeerDto(Peer peer)
{
Peer = peer.Id.ToString();
Addr = peer.ConnectedAddress?.WithoutPeerId().ToString();
Latency = peer.Latency == null ? string.Empty : Duration.Stringify(peer.Latency.Value, string.Empty);
Latency = peer.Latency == null ? "n/a" : Duration.Stringify(peer.Latency.Value, string.Empty);
}
}

Expand Down

0 comments on commit d422e8a

Please sign in to comment.