Skip to content

Commit 529a5e1

Browse files
committed
fix port name
1 parent 1441822 commit 529a5e1

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
@@ -96,10 +96,10 @@ type Host struct {
9696
Log *logger.SugaredLoggerOnWith
9797

9898
// Port is tcp service port.
99-
TCPPort int32
99+
DownloadTCPPort int32
100100

101101
// Port is quic service port.
102-
QUICPort int32
102+
DownloadQUICPort int32
103103
}
104104

105105
// CPU contains content for cpu.

scheduler/resource/standard/host.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,10 +230,10 @@ type Host struct {
230230
Log *logger.SugaredLoggerOnWith
231231

232232
// Port is tcp service port.
233-
TCPPort int32
233+
DownloadTCPPort int32
234234

235235
// Port is quic service port.
236-
QUICPort int32
236+
DownloadQUICPort int32
237237
}
238238

239239
// CPU contains content for cpu.

0 commit comments

Comments
 (0)