Skip to content

Commit

Permalink
add vendor changes
Browse files Browse the repository at this point in the history
Signed-off-by: Ashutosh Kumar <ashutosh.kumar@mayadata.io>
  • Loading branch information
Ashutosh Kumar committed Aug 5, 2020
1 parent d5875c9 commit d4c8942
Show file tree
Hide file tree
Showing 12 changed files with 133 additions and 82 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/imdario/mergo v0.3.8 // indirect
github.com/onsi/ginkgo v1.12.0
github.com/onsi/gomega v1.9.0
github.com/openebs/api v1.11.1-0.20200714130107-dca81641f677
github.com/openebs/api v1.12.1-0.20200805040335-b9bd4809e80c
github.com/pkg/errors v0.9.1
github.com/spf13/cobra v0.0.5
github.com/spf13/pflag v1.0.5
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,8 @@ github.com/openebs/api v1.11.1-0.20200629052954-e52e2bcd8339 h1:T6IuGc8zikB4XG+s
github.com/openebs/api v1.11.1-0.20200629052954-e52e2bcd8339/go.mod h1:TASujm6H1LGdx43MN7Dab1xdAqR7MVU8bsS74Ywop5w=
github.com/openebs/api v1.11.1-0.20200714130107-dca81641f677 h1:a4MkCCd4QrC+Hun7xIkBkXbJcbF9SU3H/P6vZNxSwwA=
github.com/openebs/api v1.11.1-0.20200714130107-dca81641f677/go.mod h1:TASujm6H1LGdx43MN7Dab1xdAqR7MVU8bsS74Ywop5w=
github.com/openebs/api v1.12.1-0.20200805040335-b9bd4809e80c h1:fZmO/A7BnxFAg9y1gjhtN6IG1ZBj0e0bLJTQtOI1Tk4=
github.com/openebs/api v1.12.1-0.20200805040335-b9bd4809e80c/go.mod h1:TASujm6H1LGdx43MN7Dab1xdAqR7MVU8bsS74Ywop5w=
github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k=
github.com/pelletier/go-toml v1.1.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
Expand Down
7 changes: 0 additions & 7 deletions pkg/webhook/cspc.go
Original file line number Diff line number Diff line change
Expand Up @@ -401,13 +401,6 @@ func validateBlockDevice(bd *openebsapis.BlockDevice, hostName string) error {
bd.Spec.FileSystem.Type,
)
}
if bd.Labels[types.HostNameLabelKey] != hostName {
return errors.Errorf(
"block device %s doesn't belongs to node %s",
bd.Name,
bd.Labels[types.HostNameLabelKey],
)
}

if bd.Labels[types.HostNameLabelKey] != hostName {
return errors.Errorf(
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 18 additions & 11 deletions vendor/github.com/openebs/api/pkg/apis/cstor/v1/cstorvolume.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d4c8942

Please sign in to comment.