mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-25 21:09:05 +01:00
Fix linter error
This commit is contained in:
parent
cb70711c15
commit
172c7173d3
@ -123,7 +123,7 @@ func setup(t *testing.T) *api.RestApi {
|
||||
t.Fatal(err)
|
||||
}
|
||||
return &api.RestApi{
|
||||
JobRepository: &repository.JobRepository{db},
|
||||
JobRepository: &repository.JobRepository{DB: db},
|
||||
Resolver: resolver,
|
||||
}
|
||||
}
|
||||
|
@ -308,7 +308,7 @@ func main() {
|
||||
|
||||
graphQLPlayground := playground.Handler("GraphQL playground", "/query")
|
||||
api := &api.RestApi{
|
||||
JobRepository: &repository.JobRepository{db},
|
||||
JobRepository: &repository.JobRepository{DB: db},
|
||||
AsyncArchiving: programConfig.AsyncArchiving,
|
||||
Resolver: resolver,
|
||||
MachineStateDir: programConfig.MachineStateDir,
|
||||
|
Loading…
Reference in New Issue
Block a user