drzraf
June 23, 2020, 4:34pm
1
I’ve dozens and dozens of versions containing no visible change (empty config --diff
), but log-message is Update mailer valid config
.
Can this be avoided?
definitely should be… we’ll check that
drzraf
June 24, 2020, 1:52pm
3
While at it, I suggest an argument to show all versions instead of limiting to the first 20 .
if index == 0 {
config.Set(version.Data)
config.Save("cli", "Config Restoration to version "+configVersionRestore)
}
} else {
log.Fatal("Cannot parse version Id")
}
return
}
versions, e := store.List(0, 20)
if e != nil {
log.Fatal(e)
}
table := tablewriter.NewWriter(cmd.OutOrStdout())
table.SetHeader([]string{"Id", "Date", "Context", "Log Message"})
table.SetAutoWrapText(false)
for _, version := range versions {
table.Append([]string{
fyi, the first issue (config versions cluttered) is fixed in 2.1
-c