bump api ver
This commit is contained in:
parent
c311520968
commit
46a368d2b9
@ -53,8 +53,8 @@ func restore(ctx context.Context, cctx *cli.Context, manageConfig func(*config.S
|
|||||||
}
|
}
|
||||||
|
|
||||||
//TODO(anteva): bump api version?
|
//TODO(anteva): bump api version?
|
||||||
if !v.APIVersion.EqMajorMinor(lapi.FullAPIVersion0) {
|
if !v.APIVersion.EqMajorMinor(lapi.FullAPIVersion1) {
|
||||||
return xerrors.Errorf("Remote API version didn't match (expected %s, remote %s)", lapi.FullAPIVersion0, v.APIVersion)
|
return xerrors.Errorf("Remote API version didn't match (expected %s, remote %s)", lapi.FullAPIVersion1, v.APIVersion)
|
||||||
}
|
}
|
||||||
|
|
||||||
if !cctx.Bool("nosync") {
|
if !cctx.Bool("nosync") {
|
||||||
|
Loading…
Reference in New Issue
Block a user