1
0
mirror of https://github.com/lxc/incus.git synced 2026-02-05 09:46:19 +01:00

cmd/incus-benchmark: Use api.ProjectDefaultName

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
This commit is contained in:
Stéphane Graber
2023-10-25 15:08:27 -04:00
parent 8819cefaac
commit ebe52f1c1e

View File

@@ -8,6 +8,7 @@ import (
"github.com/lxc/incus/client"
"github.com/lxc/incus/internal/version"
"github.com/lxc/incus/shared/api"
"github.com/lxc/incus/shared/util"
)
@@ -112,7 +113,7 @@ func main() {
app.PersistentFlags().IntVarP(&globalCmd.flagParallel, "parallel", "P", -1, "Number of threads to use"+"``")
app.PersistentFlags().StringVar(&globalCmd.flagReportFile, "report-file", "", "Path to the CSV report file"+"``")
app.PersistentFlags().StringVar(&globalCmd.flagReportLabel, "report-label", "", "Label for the new entry in the report [default=ACTION]"+"``")
app.PersistentFlags().StringVar(&globalCmd.flagProject, "project", "default", "Project to use")
app.PersistentFlags().StringVar(&globalCmd.flagProject, "project", api.ProjectDefaultName, "Project to use")
// Version handling
app.SetVersionTemplate("{{.Version}}\n")