mirror of
https://codeberg.org/git-pages/git-pages.git
synced 2026-05-17 12:41:38 +00:00
[breaking-change] Reorder -audit-log columns for readability.
This commit is contained in:
@@ -509,9 +509,9 @@ func Main(versionInfo string) {
|
||||
parts := []string{
|
||||
record.GetAuditID().String(),
|
||||
color.HiWhiteString(record.GetTimestamp().AsTime().UTC().Format(time.RFC3339)),
|
||||
color.HiMagentaString(record.DescribePrincipal()),
|
||||
color.HiGreenString(record.DescribeResource()),
|
||||
fmt.Sprint(record.GetEvent()),
|
||||
color.HiGreenString(record.DescribeResource()),
|
||||
color.HiMagentaString(record.DescribePrincipal()),
|
||||
}
|
||||
if record.IsDetached() {
|
||||
parts = append(parts,
|
||||
|
||||
Reference in New Issue
Block a user