mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
Merge pull request #616 from brendandburns/example
Augment the update example to turn black if the server is not responding...
This commit is contained in:
commit
dde108a737
@ -23,6 +23,7 @@ var updateColor = function($http, server) {
|
|||||||
console.log(data);
|
console.log(data);
|
||||||
})
|
})
|
||||||
.error(function(data) {
|
.error(function(data) {
|
||||||
|
server.color = "#000";
|
||||||
console.log(data);
|
console.log(data);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user