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

Create a sample to show how to tag VMs as they are created. #18

Merged
merged 1 commit into from
Mar 27, 2020

Conversation

mattmoor
Copy link
Owner

No description provided.

Copy link
Collaborator

@n3wscott n3wscott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the only thing you need to do is change v1 to v2

"context"
"log"

cloudevents "github.com/cloudevents/sdk-go/v1"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v1 -> v2

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still v1

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I knew I'd regret inlining that file, that didn't take long.

@n3wscott
Copy link
Collaborator

In the next release of cloudevents preview, this changes, we are going to break the contract on client, it will return a Result rather than an error, and you can check for ACK: cloudevents/sdk-go#425

@mattmoor mattmoor force-pushed the tag-created-vms branch 2 times, most recently from dd1520a to 0e213a7 Compare March 27, 2020 20:45
@vaikas
Copy link
Collaborator

vaikas commented Mar 27, 2020

I'd rather have the samples in samples/* directory.

@vaikas
Copy link
Collaborator

vaikas commented Mar 27, 2020

/lgtm
/approve

@vaikas vaikas merged commit 094680d into master Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants