From 22af78b62e1dc233489d67c4a9c8ffeb451acf5b Mon Sep 17 00:00:00 2001 From: Michal Niewrzal Date: Thu, 16 Jan 2020 07:38:41 +0100 Subject: [PATCH] cmd/uplink: fix 'must specify access' for old uplink configurations Change-Id: I73b0483b1907a854048cdb1080a013844fb550f4 --- cmd/uplink/cmd/config.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cmd/uplink/cmd/config.go b/cmd/uplink/cmd/config.go index d65e319d5..50f22f246 100644 --- a/cmd/uplink/cmd/config.go +++ b/cmd/uplink/cmd/config.go @@ -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