Repository: stratos
Updated Branches:
  refs/heads/master fbf89b3c6 -> 695dfd820


Fixing typos in the REST API


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/fc72ad9f
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/fc72ad9f
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/fc72ad9f

Branch: refs/heads/master
Commit: fc72ad9f7477aaabfd2ea81bba996fe03893c14b
Parents: fbf89b3
Author: Imesh Gunaratne <[email protected]>
Authored: Fri May 8 18:40:45 2015 +0530
Committer: Imesh Gunaratne <[email protected]>
Committed: Fri May 8 18:40:45 2015 +0530

----------------------------------------------------------------------
 .../java/org/apache/stratos/rest/endpoint/api/StratosApiV41.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/fc72ad9f/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41.java
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41.java
 
b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41.java
index 47da053..a6637fd 100644
--- 
a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41.java
+++ 
b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/api/StratosApiV41.java
@@ -1624,7 +1624,7 @@ public class StratosApiV41 extends AbstractApi {
 
         StratosApiV41Utils.notifyArtifactUpdatedEvent(payload);
         return Response.ok().entity(new 
StatusResponseBean(Response.Status.OK.getStatusCode(),
-                String.format("Repository notificaton sent 
successfully"))).build();
+                String.format("Repository notification sent 
successfully"))).build();
     }
 
     // API methods for users
@@ -1832,7 +1832,7 @@ public class StratosApiV41 extends AbstractApi {
         KubernetesClusterBean[] availableKubernetesClusters = 
StratosApiV41Utils.getAvailableKubernetesClusters();
         if (availableKubernetesClusters == null || 
availableKubernetesClusters.length == 0) {
             return Response.status(Response.Status.NOT_FOUND).entity(new 
StatusResponseBean(
-                    Response.Status.NOT_FOUND.getStatusCode(), "Kubernetes 
cluster not found")).build();
+                    Response.Status.NOT_FOUND.getStatusCode(), "Kubernetes 
clusters not found")).build();
         }
 
         return Response.ok().entity(availableKubernetesClusters).build();

Reply via email to