Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1bcaa28

Browse files
committed
Update links to cloudevents spec
Fixes broken links to cloudevents spec. Signed-off-by: Daniel Mangum <[email protected]>
1 parent 238c545 commit 1bcaa28

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

binding/format/protobuf/v2/pb/cloudevent.pb.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

binding/format/protobuf/v2/pb/cloudevent.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import "google/protobuf/any.proto";
88
import "google/protobuf/timestamp.proto";
99

1010
// CloudEvent is copied from
11-
// https://github.com/cloudevents/spec/blob/master/protobuf-format.md.
11+
// https://github.com/cloudevents/spec/blob/main/cloudevents/formats/protobuf-format.md.
1212
message CloudEvent {
1313
// Unique event identifier.
1414
string id = 1;

docs/concepts.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ support the following:
5656

5757
## Personas
5858

59-
- [Producer](https://github.com/cloudevents/spec/blob/master/spec.md#producer),
59+
- [Producer](https://github.com/cloudevents/spec/blob/main/cloudevents/spec.md#producer),
6060
the "producer" is a specific instance, process or device that creates the data
6161
structure describing the CloudEvent.
62-
- [Consumer](https://github.com/cloudevents/spec/blob/master/spec.md#consumer),
62+
- [Consumer](https://github.com/cloudevents/spec/blob/main/cloudevents/spec.md#consumer),
6363
a "consumer" receives the event and acts upon it. It uses the context and data
6464
to execute some logic, which might lead to the occurrence of new events.
65-
- [Intermediary](https://github.com/cloudevents/spec/blob/master/spec.md#intermediary),
65+
- [Intermediary](https://github.com/cloudevents/spec/blob/main/cloudevents/spec.md#intermediary),
6666
An "intermediary" receives a message containing an event for the purpose of
6767
forwarding it to the next receiver, which might be another intermediary or a
6868
Consumer. A typical task for an intermediary is to route the event to
@@ -96,4 +96,4 @@ continued the message to one or more Consumers.
9696
Mutator, when a Producer or Intermediary blocks on a response from a Consumer,
9797
replacing the original Event.
9898

99-
![mutator](./images/mutator.svg "Mutator")
99+
![mutator](./images/mutator.svg "Mutator")

v2/binding/encoding.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import "errors"
1111
type Encoding int
1212

1313
const (
14-
// Binary encoding as specified in https://github.com/cloudevents/spec/blob/master/spec.md#message
14+
// Binary encoding as specified in https://github.com/cloudevents/spec/blob/main/cloudevents/spec.md#message
1515
EncodingBinary Encoding = iota
16-
// Structured encoding as specified in https://github.com/cloudevents/spec/blob/master/spec.md#message
16+
// Structured encoding as specified in https://github.com/cloudevents/spec/blob/main/cloudevents/spec.md#message
1717
EncodingStructured
1818
// Message is an instance of EventMessage or it contains EventMessage nested (through MessageWrapper)
1919
EncodingEvent

v2/event/eventcontext_v03.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ func (ec EventContextV03) AsV1() *EventContextV1 {
179179
}
180180

181181
// Validate returns errors based on requirements from the CloudEvents spec.
182-
// For more details, see https://github.com/cloudevents/spec/blob/master/spec.md
182+
// For more details, see
183+
// https://github.com/cloudevents/spec/blob/main/cloudevents/spec.md
183184
// As of Feb 26, 2019, commit 17c32ea26baf7714ad027d9917d03d2fff79fc7e
184185
// + https://github.com/cloudevents/spec/pull/387 -> datacontentencoding
185186
// + https://github.com/cloudevents/spec/pull/406 -> subject

0 commit comments

Comments
 (0)