Skip to content

Commit

Permalink
Enable revision customization
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
  • Loading branch information
roidelapluie committed Dec 8, 2022
1 parent fb68af6 commit 42bc18d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions version/info_go118.go
Expand Up @@ -21,6 +21,9 @@ import "runtime/debug"
var computedRevision string

func getRevision() string {
if Revision != "" {
return Revision
}
return computedRevision
}

Expand Down

0 comments on commit 42bc18d

Please sign in to comment.