Skip to content
Permalink
Browse files

api: fix route and feature migration transaction to be urgent

  • Loading branch information
aither64 committed Jan 13, 2020
1 parent b71114a commit a4e5df58222cc5939bfb7724c319648250738e9e
@@ -541,7 +541,7 @@ def migrate_features
append_t(Transactions::Vps::Features, args: [
dst_vps,
to_keep.values + to_create
]) do |t|
], urgent: true) do |t|
to_remove.each { |f| t.just_destroy(f) }
to_create.each { |f| t.just_create(f) }
end
@@ -158,7 +158,8 @@ def link_chain(vps, dst_node, opts = {})
vps.ip_addresses.order('`order`').each do |ip|
append(
Transactions::NetworkInterface::AddRoute,
args: [dst_netif, ip]
args: [dst_netif, ip],
urgent: true,
)
end

0 comments on commit a4e5df5

Please sign in to comment.
You can’t perform that action at this time.