Skip to content

Commit c412072

Browse files
committed
fix clone
Signed-off-by: Kuromesi <[email protected]>
1 parent bdf0552 commit c412072

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/ext-proc/backend/types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ func (pm *PodMetrics) Clone() *PodMetrics {
4545
Pod: Pod{
4646
NamespacedName: pm.NamespacedName,
4747
Address: pm.Address,
48+
ScrapePort: pm.ScrapePort,
49+
ScrapePath: pm.ScrapePath,
4850
},
4951
Metrics: Metrics{
5052
ActiveModels: cm,

0 commit comments

Comments
 (0)