make linter happy
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
@@ -57,13 +57,6 @@ var (
|
|||||||
"web", // done
|
"web", // done
|
||||||
"webdav", // done
|
"webdav", // done
|
||||||
}
|
}
|
||||||
|
|
||||||
dependants = []string{
|
|
||||||
"storage-sharing",
|
|
||||||
"accounts", // done
|
|
||||||
}
|
|
||||||
// Maximum number of retries until getting a connection to the rpc runtime service.
|
|
||||||
maxRetries = 10
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// Runtime represents an oCIS runtime environment.
|
// Runtime represents an oCIS runtime environment.
|
||||||
@@ -141,12 +134,11 @@ func (r *Runtime) Start() error {
|
|||||||
// TODO(refs) debug line with supervised services.
|
// TODO(refs) debug line with supervised services.
|
||||||
go supervisor.ServeBackground()
|
go supervisor.ServeBackground()
|
||||||
|
|
||||||
select {
|
<-halt
|
||||||
case <-halt:
|
|
||||||
globalCancel()
|
globalCancel()
|
||||||
close(halt)
|
close(halt)
|
||||||
return nil
|
return nil
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// addServiceToken adds a service token to a global slice of service tokens that contains services managed by the supervisor.
|
// addServiceToken adds a service token to a global slice of service tokens that contains services managed by the supervisor.
|
||||||
|
|||||||
Reference in New Issue
Block a user