Skip to content

Commit 617dbf8

Browse files
committed
asim: fix argument passing in BasicLoad.Generate
Previously, we passed in an incorrect argument order in BasicLoad.Generate. This commit fixes it by passing the correct values. Epic: none Release note: none
1 parent fd56f6f commit 617dbf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/kv/kvserver/asim/gen/generator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ func (bl BasicLoad) Generate(seed int64, settings *config.SimulationSettings) []
165165
bl.RWRatio,
166166
bl.MaxBlockSize,
167167
bl.MinBlockSize,
168-
bl.RaftCPUPerWrite,
169168
bl.RequestCPUPerAccess,
169+
bl.RaftCPUPerWrite,
170170
),
171171
}
172172
}

0 commit comments

Comments
 (0)