Skip to content

Commit

Permalink
Merge pull request #322 from QuentinPerez/userdata
Browse files Browse the repository at this point in the history
_userdata: multiple '='
  • Loading branch information
moul committed Mar 26, 2016
2 parents eef4f01 + 14288f0 commit 1b33cbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1183,6 +1183,7 @@ $ scw inspect myserver | jq '.[0].public_ip.address'

### master (unreleased)

* `scw _userdata` fix bug when we have multiple '=' in the value ([#320](https://github.com/scaleway/scaleway-cli/issues/320))
* GetBootscriptID doesn't try to resolve when we pass an UUID
* Add location fields for VPS
* `scw ps` add commercial-type column
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/x_userdata.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func runUserdata(cmd *Command, args []string) error {
}
fmt.Fprintf(ctx.Stdout, "%s\n", res.String())
default:
value := parts[1]
value := args[1][len(parts[0])+1:]
if value != "" {
var data []byte
// Set userdata
Expand Down

0 comments on commit 1b33cbe

Please sign in to comment.