Skip to content

Commit

Permalink
bump knative/pkg - we drop webhook logic that increments spec.generation
Browse files Browse the repository at this point in the history
  • Loading branch information
dprotaso committed Feb 14, 2019
1 parent 0321cd0 commit 3a4bf21
Show file tree
Hide file tree
Showing 12 changed files with 589 additions and 352 deletions.
12 changes: 10 additions & 2 deletions Gopkg.lock

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

4 changes: 2 additions & 2 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ required = [
# TODO why is this overridden?
[[override]]
name = "github.com/knative/pkg"
# HEAD as of 2019-2-11
revision = "ac1f8182274a10bde23df8f964484bce87f06752"
# HEAD as of 2019-02-14 💖
revision = "0183bf9cdc7349e3c76c26e51f84689b411fccea"

[[constraint]]
name = "github.com/knative/serving"
Expand Down
3 changes: 0 additions & 3 deletions pkg/apis/eventing/v1alpha1/implements_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,18 @@ import (
)

func TestTypesImplements(t *testing.T) {
var emptyGen duckv1alpha1.Generation
testCases := []struct {
instance interface{}
iface duck.Implementable
}{
// Channel
{instance: &Channel{}, iface: &duckv1alpha1.Conditions{}},
{instance: &Channel{}, iface: &emptyGen},
{instance: &Channel{}, iface: &eventingduck.Subscribable{}},
{instance: &Channel{}, iface: &duckv1alpha1.Addressable{}},
// ClusterChannelProvisioner
{instance: &ClusterChannelProvisioner{}, iface: &duckv1alpha1.Conditions{}},
// Subscription
{instance: &Subscription{}, iface: &duckv1alpha1.Conditions{}},
{instance: &Subscription{}, iface: &emptyGen},
}
for _, tc := range testCases {
if err := duck.VerifyType(tc.instance, tc.iface); err != nil {
Expand Down
29 changes: 29 additions & 0 deletions third_party/VENDOR-LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -4219,6 +4219,35 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.



===========================================================
Import: github.com/knative/eventing/vendor/github.com/pkg/errors

Copyright (c) 2015, Dave Cheney <dave@cheney.net>
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.



===========================================================
Import: github.com/knative/eventing/vendor/github.com/prometheus/client_golang

Expand Down

This file was deleted.

2 changes: 0 additions & 2 deletions vendor/github.com/knative/pkg/apis/duck/v1alpha1/register.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.

6 changes: 6 additions & 0 deletions vendor/github.com/knative/pkg/apis/interfaces.go

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

Loading

0 comments on commit 3a4bf21

Please sign in to comment.