move version info to separate package
This commit is contained in:
+1
-1
@@ -142,7 +142,7 @@ func doControLVersionCmd(cmd *cobra.Command, args []string) {
|
||||
die()
|
||||
}
|
||||
|
||||
var info ZreplVersionInformation
|
||||
var info version.ZreplVersionInformation
|
||||
err = json.NewDecoder(resp.Body).Decode(&info)
|
||||
if err != nil {
|
||||
log.Printf("error unmarshaling response: %s", err)
|
||||
|
||||
Reference in New Issue
Block a user