[format]Js: format checktimedrift() success (#6850)
Signed-off-by: fuling <fuling.lgz@alibaba-inc.com>
This commit is contained in:
parent
87971fff90
commit
d276b5fb65
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue