Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Commit

Permalink
Remove unneeded information from service status
Browse files Browse the repository at this point in the history
The previous way was showing the following:
calamari-7seg-value.fbp - active (running) since Wed 2015-10-21
04:32:23 UTC; 58s ago

With the patch it get more directly and shorter:
calamari-7seg-value.fbp - active (running) 58s ago

Signed-off-by: Bruno Bottazzini <bruno.bottazzini@intel.com>
  • Loading branch information
Bruno Bottazzini committed Oct 26, 2015
1 parent 9b809cb commit 6b6b944
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/js/controllers/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,7 @@
} else {
$scope.isServiceRunning = false;
}
$scope.ServiceStatus = $scope.ServiceStatus.replace(/since.*;/,"");
}).error(function(){
$scope.ServiceStatus = "Failed to get service information";
});
Expand Down

0 comments on commit 6b6b944

Please sign in to comment.