Skip to content
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

Feature/daemon mount offline flag #3022

Merged
merged 3 commits into from
Aug 3, 2016

Conversation

Kubuxu
Copy link
Member

@Kubuxu Kubuxu commented Aug 1, 2016

No description provided.

@Kubuxu Kubuxu added this to the ipfs-0.4.3-rc2 milestone Aug 1, 2016
@@ -338,6 +339,11 @@ func daemonFunc(req cmds.Request, res cmds.Response) {
res.SetError(err, cmds.ErrNormal)
return
}
if mount && offline {
res.SetError(errors.New("mount is not supported in offline mode"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not currently supported.

This is a usecase we do want, we just don't have time to have it in for the release

Kubuxu added 2 commits August 3, 2016 05:24
ipfs daemon --offline;
ipfs mount;
fails. This uniforms this behaviour.

License: MIT
Signed-off-by: Jakub Sztandera <[email protected]>
License: MIT
Signed-off-by: Jakub Sztandera <[email protected]>
@whyrusleeping whyrusleeping force-pushed the feature/daemon-mount-offline-flag branch from d26ac87 to 1ba42b6 Compare August 3, 2016 12:24
@whyrusleeping
Copy link
Member

rebased on master to rerun tests

License: MIT
Signed-off-by: Jakub Sztandera <[email protected]>
@whyrusleeping whyrusleeping force-pushed the feature/daemon-mount-offline-flag branch from 1ba42b6 to a423024 Compare August 3, 2016 15:04
@whyrusleeping
Copy link
Member

LGTM

@whyrusleeping whyrusleeping merged commit ffba700 into master Aug 3, 2016
@whyrusleeping whyrusleeping deleted the feature/daemon-mount-offline-flag branch August 3, 2016 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants