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

[GitHub] pritidesai closed pull request #873: Fix example with old package syntax.

pritidesai closed pull request #873: Fix example with old package syntax.
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/pull/873
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/docs/examples/manifest_package_minimal.yaml b/docs/examples/manifest_package_minimal.yaml
index e5fc5dbb..e7558073 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 59458b5c..2793fcc8 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.


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services