Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
neoaggelos committed Jun 15, 2024
1 parent 6109aaf commit 150ac5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/embeddedctl/embedded.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func init() {
defaultStorageDir = filepath.Join(snapCommon, "var", "lib", "k8s-dqlite")
}

Command.PersistentFlags().StringVar(&flagStorageDir, "storage-dir", os.Getenv("EMBEDDED_DIR"), "k8s-dqlite state directory")
Command.PersistentFlags().StringVar(&flagStorageDir, "storage-dir", defaultStorageDir, "k8s-dqlite state directory")

Command.AddCommand(memberCmd)
Command.AddCommand(snapshotCmd)
Expand Down

0 comments on commit 150ac5f

Please sign in to comment.