mirror of https://github.com/rancher/ui.git
Merge pull request #2593 from westlywright/global-dns-bugs
Fix missed type change of ingress rule paths
This commit is contained in:
commit
28047c9461
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue