aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/instance/instance.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/instance/instance.go')
-rw-r--r--pkg/instance/instance.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/instance/instance.go b/pkg/instance/instance.go
index 83a855e36..95c0463b5 100644
--- a/pkg/instance/instance.go
+++ b/pkg/instance/instance.go
@@ -464,6 +464,7 @@ func (inst *inst) csourceOptions() (csource.Options, error) {
return opts, nil
}
+// nolint:revive
func ExecprogCmd(execprog, executor, OS, arch, vmType string, opts csource.Options,
optionalFlags bool, slowdown int, progFile string) string {
repeatCount := 1
@@ -500,6 +501,7 @@ var MakeBin = func() string {
return "make"
}()
+// nolint:revive
func RunnerCmd(prog, fwdAddr, os, arch string, poolIdx, vmIdx int, threaded, newEnv bool) string {
return fmt.Sprintf("%s -addr=%s -os=%s -arch=%s -pool=%d -vm=%d "+
"-threaded=%t -new-env=%t", prog, fwdAddr, os, arch, poolIdx, vmIdx, threaded, newEnv)