简体   繁体   English

具有更新用户提供的服务的Cloud Foundry

[英]cloud foundry with update-user-provided-service

我是Cloud Foundry的新手,我想使用cf update-user-provided-service命令更新用户提供的服务,但它给了我JSON错误:我的代码是:C:\\ Users \\ S> cf update-user-proveded -service common_url -p'{“ base_url”:“ myapps.co m”}'失败JSON无效:无效字符'\\'寻找值的开头

It appears that you are using a windows CMD prompt and it does quotes differently than UNIX shells. 看来您正在使用Windows CMD提示符,并且其引号与UNIX shell的引号不同。 Doing this from memory, I'd say that the correct usage for Windows would be, using the uups alias for update-user-provided-service: 从内存中做到这一点,我想说Windows的正确用法是,将uups别名用于update-user-provided-service:

cf uups common_url -p "{\"base_url\":\"myapps.com\"}"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM