Skip to content
This repository was archived by the owner on Nov 9, 2020. It is now read-only.

Commit 0c54fe5

Browse files
committed
cli: assigning deploymentId to correct variable in interactive mode
Change-Id: I4ee478eaba72ec38b7918c008573fb896ae8ee2c
1 parent d0ef304 commit 0c54fe5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

photon/cli/command/hosts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ func createHost(c *cli.Context) error {
174174
if err != nil {
175175
return err
176176
}
177-
username, err = askForInput("Deployment ID: ", deploymentID)
177+
deploymentID, err = askForInput("Deployment ID: ", deploymentID)
178178
if err != nil {
179179
return err
180180
}

0 commit comments

Comments
 (0)