node/cmd: default to guardian set index 1

This prevents the field from being omitted due to defaulty-ness.

Change-Id: Iae6d3887edf2b10dd2dfcd73b4f53120633fe02e
This commit is contained in:
Leo 2021-10-29 18:52:12 +02:00 committed by Leopold Schabel
parent 5d9fd42268
commit 7bd5643c0c
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ func init() {
moduleFlagSet := pflag.NewFlagSet("module", pflag.ExitOnError)
module = moduleFlagSet.String("module", "", "Module name")
templateGuardianIndex = TemplateCmd.PersistentFlags().Int("idx", 0, "Default current guardian set index")
templateGuardianIndex = TemplateCmd.PersistentFlags().Int("idx", 1, "Default current guardian set index")
setUpdateNumGuardians = AdminClientGuardianSetTemplateCmd.Flags().Int("num", 1, "Number of devnet guardians in example file")