@cryptotaxi247 / kubo / commits / 7fa5d8109

refactor(core): rename

Brian Tiger Chow committed Jan 10, 2015 at 20:21 UTC 7fa5d810935461c04c5089c4f4375ae86cd991e8
1 file changed +2 -2
core/core.go
+2 -2
@@ -92,11 +92,11 @@ var errTODO = errors.New("TODO")
92 type ConfigOption func(ctx context.Context) (*IpfsNode, error)
93
94 func NewIPFSNode(ctx context.Context, option ConfigOption) (*IpfsNode, error) {
95 - config, err := option(ctx)
95 + node, err := option(ctx)
96 if err != nil {
97 return nil, err
98 }
99 - return config, nil
99 + return node, nil
100 }
101
102 func Offline(cfg *config.Config) ConfigOption {