Fixed some ineffective assignments (#12543)

Этот коммит содержится в:
Agniva De Sarker
2019-10-03 18:15:27 +05:30
коммит произвёл Eli Yukelzon
родитель eebe1fc290
Коммит 20ff7032a6
16 изменённых файлов: 35 добавлений и 11 удалений

Просмотреть файл

@@ -42,6 +42,9 @@ func migrateFile(name string, source Store, destination Store) error {
if fileExists {
file, err := source.GetFile(name)
if err != nil {
return errors.Wrapf(err, "failed to migrate %s", name)
}
err = destination.SetFile(name, file)
if err != nil {
return errors.Wrapf(err, "failed to migrate %s", name)