Skip to content

Commit a407108

Browse files
committed
add comment explaining issue
1 parent fe37cef commit a407108

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/actions/setup.go

+1
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ func newAccountSetup(serverUrl *url.URL) error {
197197
// ask user to pick a name for this machine (default to current system name)
198198
fmt.Print("Please enter a name for this machine: ")
199199
var machineName string
200+
// need to not use scanln https://stackoverflow.com/questions/43843477/scanln-in-golang-doesnt-accept-whitespace
200201
if _, err := fmt.Scanln(&machineName); err != nil {
201202
return err
202203
}

0 commit comments

Comments
 (0)