Skip to content

Commit 973a681

Browse files
committed
fix tcp and quic port name
1 parent 90a17e9 commit 973a681

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

scheduler/resource/persistentcache/host.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ type Host struct {
4141
Port int32
4242

4343
// Port is tcp service port.
44-
TcpPort int32
44+
TCPPort int32
4545

4646
// Port is quic service port.
47-
QuicPort int32
47+
QUICPort int32
4848

4949
// DownloadPort is piece downloading port.
5050
DownloadPort int32

scheduler/resource/standard/host.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,10 @@ type Host struct {
154154
Port int32
155155

156156
// Port is tcp service port.
157-
TcpPort int32
157+
TCPPort int32
158158

159159
// Port is quic service port.
160-
QuicPort int32
160+
QUICPort int32
161161

162162
// DownloadPort is piece downloading port.
163163
DownloadPort int32

0 commit comments

Comments
 (0)