forked from TrueCloudLab/frostfs-node
[#1592] Remove debug builds
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
b8508585a5
commit
c4b86cf1f1
8 changed files with 11 additions and 104 deletions
|
@ -9,17 +9,13 @@ import (
|
|||
var (
|
||||
// Version is an application version.
|
||||
Version = "dev"
|
||||
|
||||
// Debug is an application debug mode flag.
|
||||
Debug = "false"
|
||||
)
|
||||
|
||||
// BuildInfo returns human-readable information about this binary.
|
||||
func BuildInfo(component string) string {
|
||||
return fmt.Sprintf("%s\nVersion: %s \nGoVersion: %s\nDebug: %s\n",
|
||||
return fmt.Sprintf("%s\nVersion: %s \nGoVersion: %s\n",
|
||||
component,
|
||||
Version,
|
||||
runtime.Version(),
|
||||
Debug,
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue