mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
pkg/expect: replace SendLine with Send method
This commit is contained in:
@@ -114,7 +114,7 @@ func (ep *ExpectProcess) Close() error {
|
||||
return err
|
||||
}
|
||||
|
||||
func (ep *ExpectProcess) SendLine(command string) error {
|
||||
_, err := io.WriteString(ep.fpty, command+"\r\n")
|
||||
func (ep *ExpectProcess) Send(command string) error {
|
||||
_, err := io.WriteString(ep.fpty, command)
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user