We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 100fb1d commit 1c9becbCopy full SHA for 1c9becb
1 file changed
src/java/frameworks/cf_metrics_exporter.go
@@ -118,7 +118,7 @@ func (f *CfMetricsExporterFramework) Finalize() error {
118
119
func (f *CfMetricsExporterFramework) constructJarPath(agentDir string) error {
120
// Find the installed JAR
121
- jarPattern := filepath.Join(agentDir, "cf-metrics-exporter-*.jar")
+ jarPattern := filepath.Join(agentDir, "cf-metrics-exporter*.jar")
122
matches, err := filepath.Glob(jarPattern)
123
if err != nil {
124
return fmt.Errorf("failed to search for CF Metrics Exported jar: %w", err)
@@ -129,4 +129,3 @@ func (f *CfMetricsExporterFramework) constructJarPath(agentDir string) error {
129
f.jarPath = matches[0]
130
return nil
131
}
132
-
0 commit comments