SAP-samples / cloud-sample-node-chat

A simple chat application that is built on Node.js.
Apache License 2.0
39 stars 53 forks source link

host in manifes.yml is deprecated #4

Closed Joel0906 closed 5 years ago

Joel0906 commented 5 years ago

Hi Harini, The "host" in manifest.yml is deprecated and hence getting the error during CF push as "Deprecation warning: Route component attributes 'domain', 'domains', 'host', 'hosts' and 'no-hostname' are deprecated. Found: host"

indusankar89 commented 5 years ago

Hi Joel, some versions of CLI still support host. https://github.com/cloudfoundry/cli/issues/1403 you can fix the issue by removing the host parameter and adding random-route: true in the manifest.yml file.