Ensure there's a newline between each warning (#4878)

It's really hard to see where one stops and another starts given
multiple warnings.
This commit is contained in:
Seth Vargo
2018-07-09 12:57:53 -05:00
committed by Brian Kassouf
parent fb13619ad6
commit 2e7f82d5c8

View File

@@ -182,8 +182,8 @@ func (t TableFormatter) printWarnings(ui cli.Ui, secret *api.Secret) {
ui.Warn("WARNING! The following warnings were returned from Vault:\n")
for _, warning := range secret.Warnings {
ui.Warn(wrapAtLengthWithPadding(fmt.Sprintf("* %s", warning), 2))
ui.Warn("")
}
ui.Warn("")
}
}