forked from TrueCloudLab/frostfs-rest-gw
[#49] Unify app version format
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
parent
1e5b5f47b4
commit
357426426f
2 changed files with 5 additions and 1 deletions
|
@ -4,6 +4,9 @@ This document outlines major changes between releases.
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
### Changed
|
||||
- Unify application version format (#49)
|
||||
|
||||
## [0.3.0] "Thunder Bluff" - 2022-08-15
|
||||
|
||||
### Added
|
||||
|
|
|
@ -4,6 +4,7 @@ import (
|
|||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
"runtime"
|
||||
"sort"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
@ -161,7 +162,7 @@ func config() *viper.Viper {
|
|||
|
||||
os.Exit(0)
|
||||
case version != nil && *version:
|
||||
fmt.Printf("NeoFS REST Gateway %s\n", Version)
|
||||
fmt.Printf("NeoFS REST Gateway\nVersion: %s\nGoVersion: %s\n", Version, runtime.Version())
|
||||
os.Exit(0)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue