mirror of
https://github.com/dolthub/dolt.git
synced 2026-05-03 19:41:24 -05:00
fix typo in address conflict err under AddBackup
This commit is contained in:
@@ -152,7 +152,7 @@ func (s SessionStateAdapter) AddBackup(remote env.Remote) error {
|
||||
}
|
||||
|
||||
if conflict, found := env.CheckRemoteAddressConflict(remote.Url, s.remotes, s.backups); found {
|
||||
return env.ErrRemoteAddressConflict.New(conflict.Name, remote.Url)
|
||||
return env.ErrRemoteAddressConflict.New(conflict.Name, conflict.Url)
|
||||
}
|
||||
|
||||
s.backups.Set(remote.Name, remote)
|
||||
|
||||
Reference in New Issue
Block a user