You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ge...@apache.org on 2021/04/08 02:15:35 UTC
[openwhisk-intellij-plugin] branch master updated: chore: fix
spelling and grammar (#11)
This is an automated email from the ASF dual-hosted git repository.
geonhee pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-intellij-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new 6440421 chore: fix spelling and grammar (#11)
6440421 is described below
commit 6440421ca5040590a0e3b5d73dbaa1d95870413a
Author: John Bampton <jb...@users.noreply.github.com>
AuthorDate: Thu Apr 8 12:15:27 2021 +1000
chore: fix spelling and grammar (#11)
---
README.md | 2 +-
.../openwhisk/intellij/common/whisk/service/WhiskPackageService.java | 2 +-
.../intellij/explorer/dialog/trigger/ui/TriggerManagerDialogForm.form | 2 +-
.../intellij/explorer/dialog/trigger/ui/TriggerManagerDialogForm.java | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index 4c1fa04..452a83e 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ This extension finds the `.wskprops` configuration file located in the home path
* Explore all entities in your endpoints/namespaces.
* The `.wskprops` file is automatically registered.
* You can add the API host manually.
- * You can add namespace manually by API auth key.
+ * You can add the namespace manually by API auth key.
* Show the action code with syntax highlighting.
* [Soon] Edit the action code on the remote server.
* Invoke the action remotely and get the activation result.
diff --git a/src/main/java/org/apache/openwhisk/intellij/common/whisk/service/WhiskPackageService.java b/src/main/java/org/apache/openwhisk/intellij/common/whisk/service/WhiskPackageService.java
index 4b228cc..a4a023e 100644
--- a/src/main/java/org/apache/openwhisk/intellij/common/whisk/service/WhiskPackageService.java
+++ b/src/main/java/org/apache/openwhisk/intellij/common/whisk/service/WhiskPackageService.java
@@ -117,7 +117,7 @@ public class WhiskPackageService {
String endpoint = whiskAuth.getApihost() + "/api/v1/namespaces/_/packages/" + name + "?overwrite=false";
String authorization = whiskAuth.getBasicAuthHeader();
String body = JsonParserUtils.writeMapToJson(payload);
- LOG.info("Package craeted: " + body);
+ LOG.info("Package created: " + body);
HttpResponse response = Request.Put(endpoint)
.setHeader(HttpHeaders.AUTHORIZATION, authorization)
.bodyString(body, ContentType.APPLICATION_JSON)
diff --git a/src/main/java/org/apache/openwhisk/intellij/explorer/dialog/trigger/ui/TriggerManagerDialogForm.form b/src/main/java/org/apache/openwhisk/intellij/explorer/dialog/trigger/ui/TriggerManagerDialogForm.form
index 2d043e8..d28d26f 100644
--- a/src/main/java/org/apache/openwhisk/intellij/explorer/dialog/trigger/ui/TriggerManagerDialogForm.form
+++ b/src/main/java/org/apache/openwhisk/intellij/explorer/dialog/trigger/ui/TriggerManagerDialogForm.form
@@ -8,7 +8,7 @@
<properties/>
<border type="none"/>
<children>
- <grid id="c6dc7" binding="tirggerNameJPanel" layout-manager="GridLayoutManager" row-count="1" column-count="3" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
+ <grid id="c6dc7" binding="triggerNameJPanel" layout-manager="GridLayoutManager" row-count="1" column-count="3" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="0" left="0" bottom="0" right="0"/>
<constraints>
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
diff --git a/src/main/java/org/apache/openwhisk/intellij/explorer/dialog/trigger/ui/TriggerManagerDialogForm.java b/src/main/java/org/apache/openwhisk/intellij/explorer/dialog/trigger/ui/TriggerManagerDialogForm.java
index 01d3e81..241fe67 100644
--- a/src/main/java/org/apache/openwhisk/intellij/explorer/dialog/trigger/ui/TriggerManagerDialogForm.java
+++ b/src/main/java/org/apache/openwhisk/intellij/explorer/dialog/trigger/ui/TriggerManagerDialogForm.java
@@ -50,7 +50,7 @@ public class TriggerManagerDialogForm {
private static final String DEFAULT_RULE_TEXTAREA_MSG = "If not entered, it is automatically generated.";
private JPanel mainJPanel;
- private JPanel tirggerNameJPanel;
+ private JPanel triggerNameJPanel;
private JPanel triggerActionsJPanel;
private JLabel triggerNameJLabel;