From 92eca67e20b5cfc6a823f616914a746f5d0f5acc Mon Sep 17 00:00:00 2001 From: John Cowen Date: Wed, 17 Jun 2020 14:08:34 +0100 Subject: [PATCH] ui: Remove now unused intention fields DefaultAddr and DefaultPort (#8134) --- ui-v2/app/models/intention.js | 5 ----- ui-v2/package.json | 2 +- ui-v2/yarn.lock | 8 ++++---- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/ui-v2/app/models/intention.js b/ui-v2/app/models/intention.js index 6d0e782350..1e18ff43af 100644 --- a/ui-v2/app/models/intention.js +++ b/ui-v2/app/models/intention.js @@ -14,11 +14,6 @@ export default Model.extend({ Precedence: attr('number'), SourceType: attr('string', { defaultValue: 'consul' }), Action: attr('string', { defaultValue: 'deny' }), - // These are in the API response but up until now - // aren't used for anything - DefaultAddr: attr('string'), - DefaultPort: attr('number'), - // Meta: attr(), SyncTime: attr('number'), Datacenter: attr('string'), diff --git a/ui-v2/package.json b/ui-v2/package.json index a5eb9ccec4..9efbb7ab75 100644 --- a/ui-v2/package.json +++ b/ui-v2/package.json @@ -56,7 +56,7 @@ "@ember/optional-features": "^1.3.0", "@glimmer/component": "^1.0.0", "@glimmer/tracking": "^1.0.0", - "@hashicorp/consul-api-double": "^2.6.2", + "@hashicorp/consul-api-double": "^3.0.0", "@hashicorp/ember-cli-api-double": "^3.1.0", "@xstate/fsm": "^1.4.0", "babel-eslint": "^10.0.3", diff --git a/ui-v2/yarn.lock b/ui-v2/yarn.lock index 0f4a4f0411..d5b0368e53 100644 --- a/ui-v2/yarn.lock +++ b/ui-v2/yarn.lock @@ -1210,10 +1210,10 @@ faker "^4.1.0" js-yaml "^3.13.1" -"@hashicorp/consul-api-double@^2.6.2": - version "2.15.2" - resolved "https://registry.yarnpkg.com/@hashicorp/consul-api-double/-/consul-api-double-2.15.2.tgz#e2c34a348b9959fcc95ffad797c1fed9644a41bd" - integrity sha512-VNdwsL3ut4SubCtwWfqX4prD9R/RczKtWUID6s6K9h1TCdzTgpZQhbb+gdzaYGqzCE3Mrw416JzclxVTIFIUFw== +"@hashicorp/consul-api-double@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@hashicorp/consul-api-double/-/consul-api-double-3.0.0.tgz#a1ad94f33e006d01cebf2b22d1f87efef1756ece" + integrity sha512-wB1YgDBN3eOvNWRzSOc2k0eVE7C8YHFC5rJEdNWWTzjOokj6zDr40g2yLiaDMXl21XQs5LE8kNstEe8pf2+JUQ== "@hashicorp/ember-cli-api-double@^3.1.0": version "3.1.0"