Skip to content
This repository has been archived by the owner on Oct 21, 2020. It is now read-only.

Commit

Permalink
Revert "Add namespace extended attributes to directory"
Browse files Browse the repository at this point in the history
  • Loading branch information
wongma7 committed Jun 18, 2018
1 parent 89e2ed2 commit a410b89
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 611 deletions.
1 change: 0 additions & 1 deletion glide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,3 @@ import:
version: 56fd3e93ab8a6a61473b33fc687a54c6a7f28421
subpackages:
- collectors/testutils
- package: github.com/pkg/xattr
4 changes: 0 additions & 4 deletions nfs-client/cmd/nfs-client-provisioner/provisioner.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import (

"github.com/golang/glog"
"github.com/kubernetes-incubator/external-storage/lib/controller"
"github.com/pkg/xattr"
"k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/util/wait"
Expand Down Expand Up @@ -66,9 +65,6 @@ func (p *nfsProvisioner) Provision(options controller.VolumeOptions) (*v1.Persis
if err := os.MkdirAll(fullPath, 0777); err != nil {
return nil, errors.New("unable to create directory to provision new pv: " + err.Error())
}
if err := xattr.Set(fullPath, "namespace", []byte(pvcNamespace)); err != nil {
return nil, errors.New("unable to set extended attributes on directory to provision new pv: " + err.Error())
}
os.Chmod(fullPath, 0777)

path := filepath.Join(p.path, pvName)
Expand Down
26 changes: 0 additions & 26 deletions vendor/github.com/pkg/xattr/.gitignore

This file was deleted.

22 changes: 0 additions & 22 deletions vendor/github.com/pkg/xattr/.travis.yml

This file was deleted.

25 changes: 0 additions & 25 deletions vendor/github.com/pkg/xattr/LICENSE

This file was deleted.

34 changes: 0 additions & 34 deletions vendor/github.com/pkg/xattr/README.md

This file was deleted.

1 change: 0 additions & 1 deletion vendor/github.com/pkg/xattr/go.mod

This file was deleted.

39 changes: 0 additions & 39 deletions vendor/github.com/pkg/xattr/syscall_darwin.go

This file was deleted.

91 changes: 0 additions & 91 deletions vendor/github.com/pkg/xattr/syscall_freebsd.go

This file was deleted.

32 changes: 0 additions & 32 deletions vendor/github.com/pkg/xattr/xattr.go

This file was deleted.

74 changes: 0 additions & 74 deletions vendor/github.com/pkg/xattr/xattr_darwin.go

This file was deleted.

Loading

0 comments on commit a410b89

Please sign in to comment.