"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "api/version/version.go" between
etcd-3.5.6.tar.gz and etcd-3.5.7.tar.gz

About: etcd is a distributed reliable key-value store for the most critical data of a distributed system (written in "Go").

version.go  (etcd-3.5.6):version.go  (etcd-3.5.7)
skipping to change at line 29 skipping to change at line 29
import ( import (
"fmt" "fmt"
"strings" "strings"
"github.com/coreos/go-semver/semver" "github.com/coreos/go-semver/semver"
) )
var ( var (
// MinClusterVersion is the min cluster version this etcd binary is compa tible with. // MinClusterVersion is the min cluster version this etcd binary is compa tible with.
MinClusterVersion = "3.0.0" MinClusterVersion = "3.0.0"
Version = "3.5.6" Version = "3.5.7"
APIVersion = "unknown" APIVersion = "unknown"
// Git SHA Value will be set during build // Git SHA Value will be set during build
GitSHA = "Not provided (use ./build instead of go build)" GitSHA = "Not provided (use ./build instead of go build)"
) )
func init() { func init() {
ver, err := semver.NewVersion(Version) ver, err := semver.NewVersion(Version)
if err == nil { if err == nil {
APIVersion = fmt.Sprintf("%d.%d", ver.Major, ver.Minor) APIVersion = fmt.Sprintf("%d.%d", ver.Major, ver.Minor)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)