Skip to content

Commit

Permalink
internal/daemon: Pass name to DB
Browse files Browse the repository at this point in the history
Signed-off-by: Wesley Hershberger <[email protected]>
  • Loading branch information
MggMuggins committed Jul 30, 2024
1 parent 568ed31 commit 19a5e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/daemon/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ func (d *Daemon) init(listenAddress string, socketGroup string, heartbeatInterva
return fmt.Errorf("Failed to initialize trust store: %w", err)
}

d.db = db.NewDB(d.shutdownCtx, d.ServerCert, d.ClusterCert, d.os, heartbeatInterval)
d.db = db.NewDB(d.shutdownCtx, d.ServerCert, d.ClusterCert, d.Name, d.os, heartbeatInterval)

listenAddr := api.NewURL()
if listenAddress != "" {
Expand Down

0 comments on commit 19a5e6c

Please sign in to comment.