-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Go 1.9 issues #4156
Fix Go 1.9 issues #4156
Conversation
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
👍 Works on my machine™
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check seams over complicated see comment.
} | ||
default: | ||
return nil, err | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seams over complicated, why not just:
if err != nil && err != os.ErrClosed {
return nil, err
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This error is wrapped within os.PathError
, that wouldn't work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, sorry didn't notice that.
} | ||
default: | ||
return nil, err | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, sorry didn't notice that.
Added option to pass custom |
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
@magik6k the travis failures seem odd. Any idea there? |
@whyrusleeping which failure?
|
The p2p command one is interesting, looks like ma-pipe helper is unable to write pid file or dies before that happens |
Ah, yeah, youre right. I missed the initial failure on one of those and the subsequent error messages concerned me. |
What's up with the jenkins test run though. Looks like some funky plugin build errors... |
oh thats a beautiful link |
AccessDeniedRequest has expired302017-08-25T19:30:05Z2017-08-25T19:31:41Z1259F2DD2654B0EBxoiIYal2iqGYD4vzWxco71ohl2vm2T98mveUZjdsNsEae0/e8dkL+TedS8xKLQktscu0VHhBlO4= |
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
meh, its just in one of the travis CI sharness failures. |
That fixed plugin issue, ci green now |
ipfs daemon --init
there is an error spam: