You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by pd...@apache.org on 2018/04/18 18:31:57 UTC

[incubator-openwhisk-wskdeploy] branch master updated: Fix example with old package syntax. (#873)

This is an automated email from the ASF dual-hosted git repository.

pdesai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-wskdeploy.git


The following commit(s) were added to refs/heads/master by this push:
     new f42dedf  Fix example with old package syntax. (#873)
f42dedf is described below

commit f42dedf2f40a7631fefe481559632df5d780902d
Author: Matt Rutkowski <mr...@us.ibm.com>
AuthorDate: Wed Apr 18 13:31:54 2018 -0500

    Fix example with old package syntax. (#873)
---
 docs/examples/manifest_package_minimal.yaml | 10 +++++-----
 docs/wskdeploy_package_minimal.md           |  8 ++++----
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/docs/examples/manifest_package_minimal.yaml b/docs/examples/manifest_package_minimal.yaml
index e5fc5db..e755807 100644
--- a/docs/examples/manifest_package_minimal.yaml
+++ b/docs/examples/manifest_package_minimal.yaml
@@ -14,8 +14,8 @@
 # specific language governing permissions and limitations under the License.
 #
 
-# Example 1: Minimum valid Package manifest file
-package:
-  name: hello_world_package
-  version: 1.0
-  license: Apache-2.0
+# Example 1: Minimum valid package manifest file
+packages:
+  hello_world_package:
+    version: 1.0
+    license: Apache-2.0
diff --git a/docs/wskdeploy_package_minimal.md b/docs/wskdeploy_package_minimal.md
index 59458b5..2793fcc 100644
--- a/docs/wskdeploy_package_minimal.md
+++ b/docs/wskdeploy_package_minimal.md
@@ -29,10 +29,10 @@ The ```wskdeploy``` utility mainly uses a single YAML file, called a "Package Ma
 
 The minimal manifest file would include only a package declaration, a version number and a license for the package:
 ```
-package:
-  name: hello_world_package
-  version: 1.0
-  license: Apache-2.0
+packages:
+  hello_world_package:
+    version: 1.0
+    license: Apache-2.0
 ```
 
 Save this into a file called ```"manifest.yaml"``` in a directory of your choice.

-- 
To stop receiving notification emails like this one, please contact
pdesai@apache.org.