【发布时间】:2020-07-23 17:50:49
【问题描述】:
我正在尝试将应用程序推送到 Cloud Foundry,并通过环境变量传递一个数组值。 但我收到 yaml: unmarshal 错误: 第 7 行:不能将 !!seq 解组为字符串 失败
manifest.yml:
---
applications:
- name: my-app1 # A default name for Cloud Foundry to give your app
memory: 128M # The amount of RAM required for each instance
disk_quota: 256M # How much disk space the application needs
no-route: true
health-check-type: none
buildpacks:
- https://github.com/cloudfoundry/nodejs-buildpack
env:
countries:
- america
- australia
- japan
- nertherland
请注意:我通过在线验证器验证了我的 yaml,它看起来不错。
【问题讨论】:
标签: yaml manifest cloud-foundry pcf