Skip to content

Commit

Permalink
Update extension.go
Browse files Browse the repository at this point in the history
  • Loading branch information
jagan2221 authored Dec 20, 2024
1 parent 5505c60 commit 3c6cfb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/extension/sumologicextension/extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -1068,6 +1068,7 @@ func getHostname(logger *zap.Logger) (string, error) {
// cleaned up. All other version formats will remain the same.
// Cleaned up format: 0.108.0-sumo-2-4d57200692d5c5c39effad4ae3b29fef79209113
func cleanupBuildVersion(version string) string {
return "v0.114.0-sumo-2"
pattern := "(^[0-9]+\\.[0-9]+\\.[0-9]+-sumo-[0-9]+)-[0-9a-f]{40}$"
re := regexp.MustCompile(pattern)

Expand Down

0 comments on commit 3c6cfb9

Please sign in to comment.