Skip to content

Commit

Permalink
Merge pull request openshift#1673 from jwforres/stop_polling_pods
Browse files Browse the repository at this point in the history
Merged by openshift-bot
  • Loading branch information
OpenShift Bot committed Apr 9, 2015
2 parents 88f13de + ea16026 commit e22268a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion assets/app/scripts/controllers/overview.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ angular.module('openshiftConsole')
$scope.pods = pods.by("metadata.name");
podRelationships();
Logger.log("pods", $scope.pods);
}, {poll: true}));
}));

watches.push(DataService.watch("services", $scope, function(services) {
$scope.unfilteredServices = services.by("metadata.name");
Expand Down
2 changes: 0 additions & 2 deletions pkg/assets/bindata.go
Original file line number Diff line number Diff line change
Expand Up @@ -13704,8 +13704,6 @@ a.pods = {}, a.services = {}, a.unfilteredServices = {}, a.deployments = {}, a.d
var g = [];
g.push(b.watch("pods", a, function(b) {
a.pods = b.by("metadata.name"), h(), e.log("pods", a.pods);
}, {
poll:!0
})), g.push(b.watch("services", a, function(b) {
a.unfilteredServices = b.by("metadata.name"), d.addLabelSuggestionsFromResources(a.unfilteredServices, a.labelSuggestions), d.setLabelSuggestions(a.labelSuggestions), a.services = d.getLabelSelector().select(a.unfilteredServices), k(), j(), h(), a.emptyMessage = "No services to show", m(), e.log("services (list)", a.services);
}));
Expand Down

0 comments on commit e22268a

Please sign in to comment.