1
0
Fork 0

Better name

master
Philip O'Toole 2 years ago
parent e492c5f5f0
commit 6ab718df2d

@ -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

Loading…
Cancel
Save