cmd/uplink: fix 'must specify access' for old uplink configurations

Change-Id: I73b0483b1907a854048cdb1080a013844fb550f4
This commit is contained in:
Michal Niewrzal 2020-01-16 07:38:41 +01:00
parent 491cd8d8ab
commit 22af78b62e

View File

@ -88,10 +88,6 @@ func (a AccessConfig) GetAccess() (_ *libuplink.Scope, err error) {
a.Access = a.Scope
}
if a.Access == "" {
return nil, errs.New("must specify access")
}
access, err := a.GetNamedAccess(a.Access)
if err != nil {
return nil, err