Skip to content

Commit

Permalink
example/cmd/microd: Move SocketGroup to DaemonArgs
Browse files Browse the repository at this point in the history
Signed-off-by: Wesley Hershberger <[email protected]>
  • Loading branch information
MggMuggins committed Jul 29, 2024
1 parent 97444c0 commit 386e3d0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions example/cmd/microd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ func (c *cmdDaemon) command() *cobra.Command {

func (c *cmdDaemon) run(cmd *cobra.Command, args []string) error {
m, err := microcluster.App(microcluster.Args{
StateDir: c.flagStateDir,
SocketGroup: c.flagSocketGroup,
StateDir: c.flagStateDir,
})
if err != nil {
return err
Expand All @@ -73,6 +72,8 @@ func (c *cmdDaemon) run(cmd *cobra.Command, args []string) error {
Debug: c.global.flagLogDebug,
Version: version.Version(),

SocketGroup: c.flagSocketGroup,

ExtensionsSchema: database.SchemaExtensions,
APIExtensions: api.Extensions(),
ExtensionServers: api.Servers,
Expand Down

0 comments on commit 386e3d0

Please sign in to comment.