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

Dir problem/518 #2147

Closed
wants to merge 4 commits into from
Closed

Commits on Jan 25, 2015

  1. store tests: add test for IsKeyDir

    Before adding IsKeyDir we should add tests.
    IsKeyDir is necessary to address etcd-io#518 on github
    iankronquist committed Jan 25, 2015
    Configuration menu
    Copy the full SHA
    056fae8 View commit details
    Browse the repository at this point in the history
  2. store: Add IsKeyDir

    IsKeyDir is needed so we can check if a given key is a directory. This
    should be a public method because we need to check whether a request
    includes Dir=true in etcdserver.
    
    Addressed issue etcd-io#518 on github.
    iankronquist committed Jan 25, 2015
    Configuration menu
    Copy the full SHA
    28fad9c View commit details
    Browse the repository at this point in the history
  3. etcdserver tests: test dir=true and prevExist=true

    Test that if dir=true and prevExist=true PUT only if the target node is a
    directory. Otherwise return "Not a directory".
    Addresses issue etcd-io#518 on github
    iankronquist committed Jan 25, 2015
    Configuration menu
    Copy the full SHA
    ab27cb3 View commit details
    Browse the repository at this point in the history
  4. etcdserver: Check whether node is a directory

    If dir=true and prevExist=true PUT only if the target node is a
    directory. Otherwise return "Not a directory".
    
    Addresses etcd-io#518 on github.
    iankronquist committed Jan 25, 2015
    Configuration menu
    Copy the full SHA
    aaa7712 View commit details
    Browse the repository at this point in the history