Skip to content

Commit 2a6f8e7

Browse files
committed
fix log field order
1 parent 26df0e5 commit 2a6f8e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ func (r *releaseCommand) autoversionFile(ctx context.Context, file, channel, ver
387387
if match := matchRe.FindStringSubmatchIndex(line); match != nil {
388388
vg := matchRe.SubexpIndex("version")
389389
if vg == -1 {
390-
logger.Error(ctx, "version group not found in match", "num_subexp", "match", match, matchRe.NumSubexp(), "subexp_names", matchRe.SubexpNames())
390+
logger.Error(ctx, "version group not found in match", "num_subexp", matchRe.NumSubexp(), "subexp_names", matchRe.SubexpNames(), "match", match)
391391
return xerrors.Errorf("bug: version group not found in match")
392392
}
393393
start := match[vg*2]

0 commit comments

Comments
 (0)