fix(session): Fix typo in connection documentation (#2075)

This commit is contained in:
Johan Brandhorst-Satzkorn authored and GitHub committed 2022-05-12 16:11:35 -04:00
1 parent a11b0e81a8
commit 8cef1017e9
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -4742,7 +4742,7 @@
},
"closed_reason": {
"type": "string",
"title": "closed_reason of the conneciont"
"title": "closed_reason of the connection"
}
},
"title": "Connection contains information about a specific connection in a session"
@@ -43,7 +43,7 @@ message Connection {
// bytes_down of the connection
uint64 bytes_down = 8; // @gotags: `class:"public"`
// closed_reason of the conneciont
// closed_reason of the connection
string closed_reason = 9; // @gotags: `class:"public"`
}
+1 -1
View File
@@ -33,7 +33,7 @@ type Connection struct {
BytesUp uint64 `json:"bytes_up,omitempty" gorm:"default:null"`
// BytesDown of the connection
BytesDown uint64 `json:"bytes_down,omitempty" gorm:"default:null"`
// ClosedReason of the conneciont
// ClosedReason of the connection
ClosedReason string `json:"closed_reason,omitempty" gorm:"default:null"`
// CreateTime from the RDBMS
CreateTime *timestamp.Timestamp `json:"create_time,omitempty" gorm:"default:current_timestamp"`
@@ -154,7 +154,7 @@ type Connection struct {
BytesUp uint64 `protobuf:"varint,7,opt,name=bytes_up,json=bytesUp,proto3" json:"bytes_up,omitempty" class:"public"` // @gotags: `class:"public"`
// bytes_down of the connection
BytesDown uint64 `protobuf:"varint,8,opt,name=bytes_down,json=bytesDown,proto3" json:"bytes_down,omitempty" class:"public"` // @gotags: `class:"public"`
// closed_reason of the conneciont
// closed_reason of the connection
ClosedReason string `protobuf:"bytes,9,opt,name=closed_reason,json=closedReason,proto3" json:"closed_reason,omitempty" class:"public"` // @gotags: `class:"public"`
}