diff options
Diffstat (limited to 'cmd/commands/sampledata.go')
-rw-r--r-- | cmd/commands/sampledata.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/commands/sampledata.go b/cmd/commands/sampledata.go index 910913eef..9f4db8616 100644 --- a/cmd/commands/sampledata.go +++ b/cmd/commands/sampledata.go @@ -134,6 +134,8 @@ func sampleDataCmdF(command *cobra.Command, args []string) error { if err != nil { return err } + defer a.Shutdown() + seed, err := command.Flags().GetInt64("seed") if err != nil { return errors.New("Invalid seed parameter") |