Skip to content

Commit

Permalink
Merge pull request #89 from ipfs/fix/docker-wait-on-api
Browse files Browse the repository at this point in the history
Fix: dockeripfs plugin now respects `wait` flag for `ipfs start`.
  • Loading branch information
dgrisham authored Sep 15, 2018
2 parents 7928974 + 3d2ee8d commit 081be46
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugins/ipfs/docker/dockeripfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,10 @@ func (l *DockerIpfs) Start(ctx context.Context, wait bool, args ...string) (test
return nil, err
}

if wait {
return nil, ipfs.WaitOnAPI(l)
}

return nil, nil
}

Expand Down

0 comments on commit 081be46

Please sign in to comment.