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

Abstract IsMountPoint and improve FakeMounter #6269

Merged
merged 1 commit into from
Apr 2, 2015

Conversation

ddysher
Copy link
Contributor

@ddysher ddysher commented Apr 1, 2015

  • Move IsMountPoint to mount.Interface
  • Make FakeMounter useful

Related #5658

@googlebot
Copy link

Thanks for your pull request.

It looks like this may be your first contribution to a Google open source project, in which case you'll need to sign a Contributor License Agreement (CLA) at https://cla.developers.google.com/.

If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check the information on your CLA or see this help article on setting the email on your git commits.

Once you've done that, please reply here to let us know. If you signed the CLA as a corporation, please let us know the company's name.

@googlebot
Copy link

CLAs look good, thanks!

@googlebot googlebot added cla: yes and removed cla: no labels Apr 1, 2015
@ddysher ddysher force-pushed the extend-mount branch 2 times, most recently from 3f9c15f to 3e509a8 Compare April 1, 2015 03:22
@ddysher ddysher changed the title WIP: Abstract ismountpoint; Use platform mounter for NFS volume Abstract ismountpoint and use platform mounter for NFS volume Apr 1, 2015
@vmarmol
Copy link
Contributor

vmarmol commented Apr 1, 2015

Assigning to @vishh, feel free to reassign.

func (mounter *Mounter) Mount(source string, target string, fstype string, flags uintptr, data string) error {
glog.V(5).Infof("Mounting %s %s %s %d %s", source, target, fstype, flags, data)
return syscall.Mount(source, target, fstype, flags, data)
}

// Wraps syscall.Unmount()
// Unmount Wraps syscall.Unmount()
Copy link
Contributor

Choose a reason for hiding this comment

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

tiniest of nits: "Wraps" in both comments should be lowercase "w"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@ddysher ddysher force-pushed the extend-mount branch 2 times, most recently from 4a4ea0e to d62afa8 Compare April 2, 2015 03:04
@ddysher ddysher changed the title Abstract ismountpoint and use platform mounter for NFS volume Abstract IsMountPoint and improve FakeMounter Apr 2, 2015
@vishh
Copy link
Contributor

vishh commented Apr 2, 2015

LGTM

vishh added a commit that referenced this pull request Apr 2, 2015
Abstract IsMountPoint and improve FakeMounter
@vishh vishh merged commit ee98731 into kubernetes:master Apr 2, 2015
@ddysher ddysher deleted the extend-mount branch April 3, 2015 00:11
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.

6 participants