Skip to content

Commit 0446ebf

Browse files
committed
stateset: remove unused code
1 parent 7935004 commit 0446ebf

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

exp/metric-gen/markers/metric_stateset.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,6 @@ func (s stateSetMarker) ToGenerator(basePath ...string) *customresourcestate.Gen
7070
}
7171
}
7272

73-
labelsFromPath := map[string][]string{}
74-
for k, v := range s.LabelsFromPath {
75-
path, err := v.Parse()
76-
if err != nil {
77-
klog.Fatal(err)
78-
}
79-
labelsFromPath[k] = path
80-
}
81-
8273
return &customresourcestate.Generator{
8374
Name: s.Name,
8475
Help: s.Help,

0 commit comments

Comments
 (0)