Build configs should not be globally writable (thanks Jeremy)
This commit is contained in:
@@ -7,5 +7,5 @@ import (
|
||||
)
|
||||
|
||||
func GetVersion() string {
|
||||
return fmt.Sprintf("%s-%s", buildconfig.VERSION, buildconfig.RELEASE)
|
||||
return fmt.Sprintf("%s-%s", buildconfig.VERSION(), buildconfig.RELEASE())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user