-
Notifications
You must be signed in to change notification settings - Fork 225
Conversation
pkg/kncloudevents/good_client.go
Outdated
@@ -1,26 +1,29 @@ | |||
package kncloudevents | |||
|
|||
import ( | |||
"github.com/cloudevents/sdk-go" | |||
"github.com/cloudevents/sdk-go/pkg/cloudevents/client" | |||
"github.com/cloudevents/sdk-go/pkg/cloudevents/transport/http" | |||
) | |||
|
|||
func NewDefaultClient(target ...string) (client.Client, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This client too in the sig
@@ -1,26 +1,29 @@ | |||
package kncloudevents | |||
|
|||
import ( | |||
"github.com/cloudevents/sdk-go" | |||
"github.com/cloudevents/sdk-go/pkg/cloudevents/client" | |||
"github.com/cloudevents/sdk-go/pkg/cloudevents/transport/http" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete these imports
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@n3wscott Option
is still in http
,
pkg/kncloudevents/good_client.go
Outdated
// Use the transport to make a new CloudEvents client. | ||
c, err := client.New(t, | ||
c, err := cloudevents.NewClient(t, | ||
client.WithUUIDs(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can come from cloudevents too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: matzew, n3wscott The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* Adding smaller set of owners for sources. * adding base authors to sources. * Adding github stuff.
as per title
/cc @n3wscott