Skip to content

Commit

Permalink
fix: correct error to lastError
Browse files Browse the repository at this point in the history
  • Loading branch information
alexec committed May 14, 2021
1 parent 0d0c6d5 commit 1fbfbd1
Show file tree
Hide file tree
Showing 9 changed files with 573 additions and 573 deletions.
1,084 changes: 542 additions & 542 deletions api/v1alpha1/generated.pb.go

Large diffs are not rendered by default.

38 changes: 19 additions & 19 deletions api/v1alpha1/generated.proto

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

2 changes: 1 addition & 1 deletion api/v1alpha1/sink_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package v1alpha1

type SinkStatus struct {
LastMessage *Message `json:"lastMessage,omitempty" protobuf:"bytes,2,opt,name=lastMessage"`
LastError *Error `json:"error,omitempty" protobuf:"bytes,4,opt,name=error"`
LastError *Error `json:"lastError,omitempty" protobuf:"bytes,4,opt,name=lastError"`
Metrics map[string]Metrics `json:"metrics,omitempty" protobuf:"bytes,3,rep,name=metrics"`
}

Expand Down
2 changes: 1 addition & 1 deletion api/v1alpha1/source_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package v1alpha1

type SourceStatus struct {
LastMessage *Message `json:"lastMessage,omitempty" protobuf:"bytes,2,opt,name=lastMessage"`
LastError *Error `json:"error,omitempty" protobuf:"bytes,5,opt,name=error"`
LastError *Error `json:"lastError,omitempty" protobuf:"bytes,5,opt,name=lastError"`
Pending *uint64 `json:"pending,omitempty" protobuf:"varint,3,opt,name=pending"`
Metrics map[string]Metrics `json:"metrics,omitempty" protobuf:"bytes,4,rep,name=metrics"`
}
Expand Down
4 changes: 2 additions & 2 deletions config/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3568,7 +3568,7 @@ spec:
sinkStatuses:
additionalProperties:
properties:
error:
lastError:
properties:
message:
maxLength: 32
Expand Down Expand Up @@ -3608,7 +3608,7 @@ spec:
sourceStatuses:
additionalProperties:
properties:
error:
lastError:
properties:
message:
maxLength: 32
Expand Down
4 changes: 2 additions & 2 deletions config/crd/bases/dataflow.argoproj.io_steps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2635,7 +2635,7 @@ spec:
sinkStatuses:
additionalProperties:
properties:
error:
lastError:
properties:
message:
maxLength: 32
Expand Down Expand Up @@ -2675,7 +2675,7 @@ spec:
sourceStatuses:
additionalProperties:
properties:
error:
lastError:
properties:
message:
maxLength: 32
Expand Down
4 changes: 2 additions & 2 deletions config/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3568,7 +3568,7 @@ spec:
sinkStatuses:
additionalProperties:
properties:
error:
lastError:
properties:
message:
maxLength: 32
Expand Down Expand Up @@ -3608,7 +3608,7 @@ spec:
sourceStatuses:
additionalProperties:
properties:
error:
lastError:
properties:
message:
maxLength: 32
Expand Down
4 changes: 2 additions & 2 deletions config/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3568,7 +3568,7 @@ spec:
sinkStatuses:
additionalProperties:
properties:
error:
lastError:
properties:
message:
maxLength: 32
Expand Down Expand Up @@ -3608,7 +3608,7 @@ spec:
sourceStatuses:
additionalProperties:
properties:
error:
lastError:
properties:
message:
maxLength: 32
Expand Down
4 changes: 2 additions & 2 deletions config/quick-start.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3568,7 +3568,7 @@ spec:
sinkStatuses:
additionalProperties:
properties:
error:
lastError:
properties:
message:
maxLength: 32
Expand Down Expand Up @@ -3608,7 +3608,7 @@ spec:
sourceStatuses:
additionalProperties:
properties:
error:
lastError:
properties:
message:
maxLength: 32
Expand Down

0 comments on commit 1fbfbd1

Please sign in to comment.