简体   繁体   中英

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. Doing this from memory, I'd say that the correct usage for Windows would be, using the uups alias for update-user-provided-service:

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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