unconfiguredPortsAttributes -> otherPortsAttributes

Fixes microsoft/vscode-remote-release#4732
This commit is contained in:
Alex Ross 2021-03-23 14:57:40 +01:00
parent 73b9e6679d
commit 64381abea9
No known key found for this signature in database
GPG key ID: 89DDDBA66CBA7840
5 changed files with 9 additions and 9 deletions

View file

@ -75,7 +75,7 @@
],
"additionalProperties": false
},
"unconfiguredPortsAttributes": {
"otherPortsAttributes": {
"type": "object",
"properties": {
"onAutoForward": {

View file

@ -184,7 +184,7 @@
],
"additionalProperties": false
},
"unconfiguredPortsAttributes": {
"otherPortsAttributes": {
"type": "object",
"properties": {
"onAutoForward": {
@ -483,7 +483,7 @@
],
"additionalProperties": false
},
"unconfiguredPortsAttributes": {
"otherPortsAttributes": {
"type": "object",
"properties": {
"onAutoForward": {
@ -758,7 +758,7 @@
],
"additionalProperties": false
},
"unconfiguredPortsAttributes": {
"otherPortsAttributes": {
"type": "object",
"properties": {
"onAutoForward": {
@ -999,7 +999,7 @@
],
"additionalProperties": false
},
"unconfiguredPortsAttributes": {
"otherPortsAttributes": {
"type": "object",
"properties": {
"onAutoForward": {
@ -1209,7 +1209,7 @@
],
"additionalProperties": false
},
"unconfiguredPortsAttributes": {
"otherPortsAttributes": {
"type": "object",
"properties": {
"onAutoForward": {

View file

@ -89,7 +89,7 @@
],
"additionalProperties": false
},
"unconfiguredPortsAttributes": {
"otherPortsAttributes": {
"type": "object",
"properties": {
"onAutoForward": {

View file

@ -189,7 +189,7 @@ Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Configuration)
errorMessage: localize('remote.portsAttributes.patternError', "Must be a port number, range of port numbers, or regular expression."),
additionalProperties: false
},
'remote.unconfiguredPortsAttributes': {
'remote.otherPortsAttributes': {
type: 'object',
properties: {
'onAutoForward': {

View file

@ -154,7 +154,7 @@ interface PortAttributes extends Attributes {
export class PortsAttributes extends Disposable {
private static SETTING = 'remote.portsAttributes';
private static DEFAULTS = 'remote.unconfiguredPortsAttributes';
private static DEFAULTS = 'remote.otherPortsAttributes';
private static RANGE = /^(\d+)\-(\d+)$/;
private portsAttributes: PortAttributes[] = [];
private defaultPortAttributes: Attributes | undefined;