Descriptioncmd: refactor FileVar to retrieve contents
Stop being so clever, FileVar.Path is non nil if a config file was passed, Read(*cmd.Context) returns the contents of the file with respect to the Context.
https://code.launchpad.net/~dave-cheney/juju-core/104-cmd-juju-config-file-open-at-runtime/+merge/124933
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 2
Patch Set 2 : cmd: refactor FileVar to Open reader at Run() #
Total comments: 6
Patch Set 3 : cmd: refactor FileVar to retrieve contents #
MessagesTotal messages: 7
|