mrutkows commented on a change in pull request #754: Adding support for default 
package
URL: 
https://github.com/apache/incubator-openwhisk-wskdeploy/pull/754#discussion_r171094297
 
 

 ##########
 File path: parsers/manifest_parser.go
 ##########
 @@ -322,6 +323,13 @@ func (dm *YAMLParser) ComposePackage(pkg Package, 
packageName string, filePath s
                pag.Annotations = append(pag.Annotations, ma)
        }
 
+       // "default" package is a reserved package name
+       // and in this case wskdeploy deploys openwhisk entities under
+       // /namespace instead of /namespace/package
+       if strings.ToLower(pag.Name) == DEFAULT_PACKAGE {
+               
wskprint.PrintlnOpenWhiskInfo(wski18n.T(wski18n.ID_MSG_DEFAULT_PACKAGE))
 
 Review comment:
   tyvm

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to