FANNG1 opened a new issue, #5172:
URL: https://github.com/apache/gravitino/issues/5172
### Version
main branch
### Describe what's wrong
It's not correct to use `currentUser`, should use
`PrincipalUtils.getCurrentUserName()` instread
```java
.withAuditInfo(
AuditInfo.builder()
.withCreator(currentUser())
.withCreateTime(Instant.now())
.build())
.build();
private static String currentUser() {
return System.getProperty("user.name");
}
```
### Error message and/or stacktrace
no
### How to reproduce
no
### Additional context
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]