cmd/uplink: Update error message referring to 'import'

Uplink doesn't have a `save` command, however, it's referred on an error
message that's returned when the `access register` command is executed
without having any default access configured.

The correct command to mention is `import`.

Change-Id: Ia2092d02965737f421683fc98c52a51c9529b86e
This commit is contained in:
Ivan Fraixedes 2022-11-25 18:54:51 +01:00
parent 3501656e98
commit ef4b564b82
No known key found for this signature in database
GPG Key ID: 042B474597F96DB7

View File

@ -104,7 +104,7 @@ func (ex *external) GetAccessInfo(required bool) (string, map[string]string, err
return "", nil, err
}
if required && !ex.access.loaded {
return "", nil, errs.New("No accesses configured. Use 'access save' or 'access create' to create one")
return "", nil, errs.New("No accesses configured. Use 'access import' or 'access create' to create one")
}
}