Skip to content
Snippets Groups Projects
Commit f04d1cda authored by Jake Taylor's avatar Jake Taylor
Browse files

clean up version generate print

parent 057320d2
No related branches found
No related tags found
2 merge requests!510Release,!354Channels impl
...@@ -252,8 +252,8 @@ var udCmd = &cobra.Command{ ...@@ -252,8 +252,8 @@ var udCmd = &cobra.Command{
// to contact UD. // to contact UD.
func getUdContactInfo(user *xxdk.E2e) (cert, contactFile []byte, address string, err error) { func getUdContactInfo(user *xxdk.E2e) (cert, contactFile []byte, address string, err error) {
// Retrieve address // Retrieve address
address = string([]byte(user.GetCmix().GetInstance().GetPartialNdf(). address = string(user.GetCmix().GetInstance().GetPartialNdf().
Get().UDB.Address)) Get().UDB.Address)
// Retrieve certificate // Retrieve certificate
cert = []byte(user.GetCmix().GetInstance().GetPartialNdf().Get().UDB.Cert) cert = []byte(user.GetCmix().GetInstance().GetPartialNdf().Get().UDB.Cert)
......
...@@ -21,7 +21,7 @@ import ( ...@@ -21,7 +21,7 @@ import (
const currentVersion = "4.2.0" const currentVersion = "4.2.0"
func Version() string { func Version() string {
out := fmt.Sprintf("Elixxir Cmix v%s -- %s\n\n", xxdk.SEMVER, out := fmt.Sprintf("Elixxir Client v%s -- %s\n\n", xxdk.SEMVER,
xxdk.GITVERSION) xxdk.GITVERSION)
out += fmt.Sprintf("Dependencies:\n\n%s\n", xxdk.DEPENDENCIES) out += fmt.Sprintf("Dependencies:\n\n%s\n", xxdk.DEPENDENCIES)
return out return out
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment