Giter VIP home page Giter VIP logo

Comments (1)

galthaus avatar galthaus commented on July 28, 2024

well - sooo - this is one of those you can't have your cake and eat it too without changing your behavior. The problem is that the parameter following the create is one of 4 thing:

  • a filename
  • a JSON string
  • a string

The cli tests it in that order. '-' which tells the the cli to read from standard in. The value is tested as a filename to see if exists. Then the string is parsed a JSON/YAML and then it is passed as just a string. The function that handles this is used everywhere to make it consistent. This means that when you set a parameter with this style it will eventually default to a implied string type. For the object create functions, this means that string is passed as the object to create and it fails in remarshaling.

I'm not sure how to fix this easily without changing someone's operational pattern that might be working. It could be that we do something specific, but I'm not sure.

from provision.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.