Merge pull request #2593 from westlywright/global-dns-bugs

Fix missed type change of ingress rule paths
This commit is contained in:
Westly Wright 2019-01-25 10:28:53 -07:00 committed by GitHub
commit 28047c9461
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ export default Component.extend({
const rule = EmberObject.create({
host: '',
new: true,
paths: {},
paths: [],
});
get(this, 'rules').pushObject(rule);
@ -65,7 +65,7 @@ export default Component.extend({
if (defaultBackend) {
rules.push({
defaultBackend: true,
paths: { '': defaultBackend }
paths: [{ '': defaultBackend }]
});
}
set(this, 'rules', rules);