Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
Merge fd8ad51 into 713a729
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanbenten committed Dec 28, 2017
2 parents 713a729 + fd8ad51 commit d95b2ca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/storjshare-status.js
Expand Up @@ -20,10 +20,13 @@ storjshare_status
function getColoredValue(status, value) {
switch (status) {
case 0:
// good to go
return colors.green(value);
case 1:
return colors.yellow(value);
//mark Tunnel Connections as bad
return colors.red(value);
case 2:
//Not Connected - Private NET
return colors.red(value);
default:
return value;
Expand Down

0 comments on commit d95b2ca

Please sign in to comment.