mirror of
https://github.com/rqlite/rqlite.git
synced 2022-10-30 02:37:32 +03:00
Better name
This commit is contained in:
@@ -293,8 +293,8 @@ func (c *Client) Query(qr *command.QueryRequest, nodeAddr string, creds *Credent
|
||||
return a.Rows, nil
|
||||
}
|
||||
|
||||
// BackupTo retrieves a backup from a remote node and writes to the io.Writer
|
||||
func (c *Client) BackupTo(nodeAddr string, creds *Credentials, timeout time.Duration, w io.Writer) error {
|
||||
// Backup retrieves a backup from a remote node and writes to the io.Writer
|
||||
func (c *Client) Backup(nodeAddr string, creds *Credentials, timeout time.Duration, w io.Writer) error {
|
||||
conn, err := c.dial(nodeAddr, c.timeout)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user