name change, for consistency
This commit is contained in:
parent
bea9cd2fe2
commit
46a016cdce
@ -25,10 +25,10 @@ import (
|
||||
type CommonAPI struct {
|
||||
fx.In
|
||||
|
||||
APISecret *dtypes.APIAlg
|
||||
Host host.Host
|
||||
Router lp2p.BaseIpfsRouting
|
||||
ShutdownCh dtypes.ShutdownChan
|
||||
APISecret *dtypes.APIAlg
|
||||
Host host.Host
|
||||
Router lp2p.BaseIpfsRouting
|
||||
ShutdownChan dtypes.ShutdownChan
|
||||
}
|
||||
|
||||
type jwtPayload struct {
|
||||
@ -117,7 +117,7 @@ func (a *CommonAPI) LogSetLevel(ctx context.Context, subsystem, level string) er
|
||||
}
|
||||
|
||||
func (a *CommonAPI) Shutdown(ctx context.Context) error {
|
||||
a.ShutdownCh <- struct{}{}
|
||||
a.ShutdownChan <- struct{}{}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user