Update replication controllers for v1beta3 api
This commit is contained in:
@@ -22,7 +22,7 @@ ReplicationController.prototype.handleError = function(data, status, headers, co
|
||||
app.controller('ReplicationControllerCtrl', [
|
||||
'$scope',
|
||||
'$routeParams',
|
||||
'k8sApi',
|
||||
'k8sv1Beta3Api',
|
||||
function($scope, $routeParams, k8sApi) {
|
||||
$scope.controller = new ReplicationController();
|
||||
$scope.controller.k8sApi = k8sApi;
|
||||
@@ -30,6 +30,7 @@ app.controller('ReplicationControllerCtrl', [
|
||||
$scope.controller.getData($routeParams.replicationControllerId);
|
||||
|
||||
$scope.doTheBack = function() { window.history.back(); };
|
||||
$scope.getSelectorUrlFragment = function(sel){ return _.map(sel, function(v, k) { return k + '=' + v }).join(','); };
|
||||
|
||||
}
|
||||
]);
|
||||
|
Reference in New Issue
Block a user