File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ func (i *cmdInvocation) Run(ctx context.Context) (output io.Reader, err error) {
172
172
return res .Reader ()
173
173
}
174
174
175
- func (i * cmdInvocation ) nodeFunc (ctx context.Context ) func () (* core.IpfsNode , error ) {
175
+ func (i * cmdInvocation ) constructNodeFunc (ctx context.Context ) func () (* core.IpfsNode , error ) {
176
176
return func () (* core.IpfsNode , error ) {
177
177
if i .req == nil {
178
178
return nil , errors .New ("constructing node without a request" )
@@ -225,7 +225,7 @@ func (i *cmdInvocation) Parse(ctx context.Context, args []string) error {
225
225
cmdctx .LoadConfig = loadConfig
226
226
// this sets up the function that will initialize the node
227
227
// this is so that we can construct the node lazily.
228
- cmdctx .ConstructNode = i .nodeFunc (ctx )
228
+ cmdctx .ConstructNode = i .constructNodeFunc (ctx )
229
229
230
230
// if no encoding was specified by user, default to plaintext encoding
231
231
// (if command doesn't support plaintext, use JSON instead)
You can’t perform that action at this time.
0 commit comments