@@ 342,9 342,12 @@ async function validateHubInterface(
const hubTypes = ['hub-and-spoke', 'internet-to-point', 'site-to-point']
if (!hubTypes.includes(endpoint.wizard)) {
- errors.push(
- 'Type: either Hub (in Hub-and-Spoke), Internet (in Point-to-Internet), or Site (in Point-to-Site)',
- )
+ const types = [
+ 'Hub-and-Spoke, Remote as Spoke',
+ 'Point-to-Site, Remote as Point',
+ 'or Point-to-Internet, Remote as Point',
+ ]
+ errors.push(`Type: either ${types.join('; ')}`)
}
if (!endpoint.allowed_ips || !endpoint.allowed_ips.length) {