[format]Js: format checktimedrift() success (#6850)

Signed-off-by: fuling <fuling.lgz@alibaba-inc.com>
This commit is contained in:
李国忠 2020-02-20 18:36:22 +08:00 committed by GitHub
parent 87971fff90
commit d276b5fb65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ Prometheus.Graph.prototype.checkTimeDrift = function() {
method: "GET",
url: PATH_PREFIX + "/api/v1/query?query=time()",
dataType: "json",
success: function(json, textStatus) {
success: function(json, textStatus) {
if (json.status !== "success") {
self.showError("Error querying time.");
return;