chore(sdn-controller/ovsdb-client): dont use set when not necessary (#4806)
This commit is contained in:
parent
95a5c7a001
commit
ba140c60e3
@ -131,7 +131,7 @@ export class OvsdbClient {
|
||||
table: 'Port',
|
||||
row: {
|
||||
name: portName,
|
||||
interfaces: ['set', [['named-uuid', 'new_iface']]],
|
||||
interfaces: ['named-uuid', 'new_iface'],
|
||||
other_config: toMap({
|
||||
'xo:sdn-controller:private-network-uuid': privateNetworkUuid,
|
||||
}),
|
||||
@ -143,7 +143,7 @@ export class OvsdbClient {
|
||||
op: 'mutate',
|
||||
table: 'Bridge',
|
||||
where: [['_uuid', '==', ['uuid', bridge.uuid]]],
|
||||
mutations: [['ports', 'insert', ['set', [['named-uuid', 'new_port']]]]],
|
||||
mutations: [['ports', 'insert', ['named-uuid', 'new_port']]],
|
||||
}
|
||||
const params = [
|
||||
'Open_vSwitch',
|
||||
|
Loading…
Reference in New Issue
Block a user