Skip to content

Commit

Permalink
Merge pull request #9073 from r4f4/gather-bootstrap-path-fix
Browse files Browse the repository at this point in the history
OCPBUGS-39339: gather: simplify service regex for analyze
  • Loading branch information
openshift-merge-bot[bot] authored Oct 7, 2024
2 parents 04c1340 + ca029f9 commit 9bb1e65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/gather/service/analyze.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
// then the name of the service is "release-image".
// In case the log-bundle is from bootstrap-in-place installation the file name is:
// "log-bundle-20210329190553/log-bundle-bootstrap/bootstrap/services/release-image.json"
var serviceEntriesFilePathRegex = regexp.MustCompile(`^[^\/]+(?:\/log-bundle-bootstrap)?\/bootstrap\/services\/([^.]+)\.json$`)
var serviceEntriesFilePathRegex = regexp.MustCompile(`\/bootstrap\/services\/([^.]+)\.json$`)

// AnalyzeGatherBundle will analyze the bootstrap gather bundle at the specified path.
// Analysis will be logged.
Expand Down

0 comments on commit 9bb1e65

Please sign in to comment.