Skip to content

Commit

Permalink
govc: allow columns in guest login password (#972)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-clerc authored and dougm committed Dec 19, 2017
1 parent e15ff58 commit d4ee331
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions govc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# changelog

### 0.17.0 (undef)

* Allow columns in password for guest login.

### 0.16.0 (2017-11-08)

* Add export.ovf command
Expand Down
2 changes: 1 addition & 1 deletion govc/vm/guest/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func (flag *AuthFlag) String() string {
}

func (flag *AuthFlag) Set(s string) error {
c := strings.Split(s, ":")
c := strings.SplitN(s, ":", 2)
if len(c) > 0 {
flag.auth.Username = c[0]
if len(c) > 1 {
Expand Down

0 comments on commit d4ee331

Please sign in to comment.