mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-26 13:29: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)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
return &api.RestApi{
|
return &api.RestApi{
|
||||||
JobRepository: &repository.JobRepository{db},
|
JobRepository: &repository.JobRepository{DB: db},
|
||||||
Resolver: resolver,
|
Resolver: resolver,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -308,7 +308,7 @@ func main() {
|
|||||||
|
|
||||||
graphQLPlayground := playground.Handler("GraphQL playground", "/query")
|
graphQLPlayground := playground.Handler("GraphQL playground", "/query")
|
||||||
api := &api.RestApi{
|
api := &api.RestApi{
|
||||||
JobRepository: &repository.JobRepository{db},
|
JobRepository: &repository.JobRepository{DB: db},
|
||||||
AsyncArchiving: programConfig.AsyncArchiving,
|
AsyncArchiving: programConfig.AsyncArchiving,
|
||||||
Resolver: resolver,
|
Resolver: resolver,
|
||||||
MachineStateDir: programConfig.MachineStateDir,
|
MachineStateDir: programConfig.MachineStateDir,
|
||||||
|
Loading…
Reference in New Issue
Block a user