mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-02 12:20:03 +08:00
style(routing/supernode/client) fix indent
This commit is contained in:
@ -34,11 +34,11 @@ func Standard(h host.Host, remotes []peer.PeerInfo) Proxy {
|
||||
}
|
||||
|
||||
func (px *standard) Bootstrap(ctx context.Context) error {
|
||||
for _, info := range px.Remotes {
|
||||
if err := px.Host.Connect(ctx, info); err != nil {
|
||||
return err // TODO
|
||||
}
|
||||
for _, info := range px.Remotes {
|
||||
if err := px.Host.Connect(ctx, info); err != nil {
|
||||
return err // TODO
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user