Skip to content

Commit da47901

Browse files
committed
adjust main to new struct
1 parent 2e0ad3c commit da47901

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

backend/cmd/main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,12 @@ func main() {
9696
defer pprof.StopCPUProfile()
9797
}
9898
runtime.SetBlockProfileRate(*blockprofile)
99+
99100
config := getConfig("./config.toml")
100101

101102
// <--- ADJ --->
102103

103-
adj, err := adj_module.NewADJ(config.AdjBranch)
104+
adj, err := adj_module.NewADJ(config.Adj.Branch)
104105
if err != nil {
105106
trace.Fatal().Err(err).Msg("setting up ADJ")
106107
}

0 commit comments

Comments
 (0)