aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kevi...@apache.org
Subject git commit: Fix compilation of SlaGroup
Date Thu, 24 Apr 2014 01:29:00 GMT
Repository: incubator-aurora
Updated Branches:
  refs/heads/master 5de2b1ab3 -> 91ff94b7c


Fix compilation of SlaGroup


Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/91ff94b7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/91ff94b7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/91ff94b7

Branch: refs/heads/master
Commit: 91ff94b7c587b9d9c7c6a0a42dcc220bcfc4c192
Parents: 5de2b1a
Author: Kevin Sweeney <kevints@apache.org>
Authored: Wed Apr 23 18:28:40 2014 -0700
Committer: Kevin Sweeney <kevints@apache.org>
Committed: Wed Apr 23 18:28:40 2014 -0700

----------------------------------------------------------------------
 src/main/java/org/apache/aurora/scheduler/sla/SlaGroup.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/91ff94b7/src/main/java/org/apache/aurora/scheduler/sla/SlaGroup.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/aurora/scheduler/sla/SlaGroup.java b/src/main/java/org/apache/aurora/scheduler/sla/SlaGroup.java
index 46be612..ff7e3cb 100644
--- a/src/main/java/org/apache/aurora/scheduler/sla/SlaGroup.java
+++ b/src/main/java/org/apache/aurora/scheduler/sla/SlaGroup.java
@@ -119,7 +119,7 @@ interface SlaGroup {
       return Multimaps.index(tasks, Functions.compose(new Function<IJobKey, String>()
{
         @Override
         public String apply(IJobKey jobKey) {
-          return "sla_" + JobKeys.canonicalString(jobKey) + "_";
+          return "sla_" + JobKeys.toPath(jobKey) + "_";
         }
       }, Tasks.SCHEDULED_TO_JOB_KEY));
     }


Mime
View raw message