You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by ma...@apache.org on 2014/01/15 22:38:12 UTC
[49/50] [abbrv] git commit: Removed mock.
Removed mock.
Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/82a4f931
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/82a4f931
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/82a4f931
Branch: refs/heads/mansu/AURORA-4187_scheduler_home_page-no-seed
Commit: 82a4f9313b651a4b9ee92393e1999a69a4cca3a7
Parents: 1a44473
Author: Suman Karumuri <sk...@twitter.com>
Authored: Mon Jan 13 15:49:26 2014 -0800
Committer: Suman Karumuri <sk...@twitter.com>
Committed: Mon Jan 13 15:52:26 2014 -0800
----------------------------------------------------------------------
.../apache/aurora/scheduler/http/ui/js/services.js | 17 +----------------
1 file changed, 1 insertion(+), 16 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/82a4f931/src/main/resources/org/apache/aurora/scheduler/http/ui/js/services.js
----------------------------------------------------------------------
diff --git a/src/main/resources/org/apache/aurora/scheduler/http/ui/js/services.js b/src/main/resources/org/apache/aurora/scheduler/http/ui/js/services.js
index 81560a0..16f22a7 100644
--- a/src/main/resources/org/apache/aurora/scheduler/http/ui/js/services.js
+++ b/src/main/resources/org/apache/aurora/scheduler/http/ui/js/services.js
@@ -2,7 +2,7 @@
auroraUI.factory(
'auroraClient',
- function (auroraClientMock) {
+ function () {
return {
getJobSummary: function () {
var client = this.makeSchedulerClient();
@@ -22,18 +22,3 @@ auroraUI.factory(
};
}
);
-
-auroraUI.factory(
- 'auroraClientMock',
- function () {
- return {
- getJobSummary: function () {
- var summary = new JobSummary();
- summary.role = "mesos";
- summary.jobCount = 10;
- summary.cronJobCount = 10;
- return { 'summaries': [summary]};
- }
- }
- }
-);