Skip to content

Commit e3d25cd

Browse files
committed
Don't use option for builder map
1 parent 3c1ae53 commit e3d25cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vm/devices/vmbus/vmbus_server/src/proxyintegration.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ impl<'a, T: SpawnDriver + Clone> ProxyIntegrationBuilder<'a, T> {
134134

135135
/// Adds a NUMA node map to be passed to the proxy driver. This map is of the format
136136
/// VP -> Physical NUMA Node. For example, `map[0]` is the physical NUMA node for VP 0.
137-
pub fn vp_to_physical_node_map(mut self, map: Option<Vec<u16>>) -> Self {
138-
self.vp_to_physical_node_map = map;
137+
pub fn vp_to_physical_node_map(mut self, map: Vec<u16>) -> Self {
138+
self.vp_to_physical_node_map = Some(map);
139139
self
140140
}
141141

0 commit comments

Comments
 (0)