bump api ver

This commit is contained in:
Anton Evangelatov 2021-05-27 13:35:54 +02:00
parent c311520968
commit 46a368d2b9

View File

@ -53,8 +53,8 @@ func restore(ctx context.Context, cctx *cli.Context, manageConfig func(*config.S
}
//TODO(anteva): bump api version?
if !v.APIVersion.EqMajorMinor(lapi.FullAPIVersion0) {
return xerrors.Errorf("Remote API version didn't match (expected %s, remote %s)", lapi.FullAPIVersion0, v.APIVersion)
if !v.APIVersion.EqMajorMinor(lapi.FullAPIVersion1) {
return xerrors.Errorf("Remote API version didn't match (expected %s, remote %s)", lapi.FullAPIVersion1, v.APIVersion)
}
if !cctx.Bool("nosync") {