refractor(aa): newRuleFromLog -> newBaseFromLog

This commit is contained in:
Alexandre Pujol 2024-06-19 18:44:55 +01:00
parent afc0a7cd3b
commit cdab2588aa
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
15 changed files with 18 additions and 18 deletions

View file

@ -55,7 +55,7 @@ func newFileFromLog(log map[string]string) Rule {
return newLinkFromLog(log)
}
return &File{
RuleBase: newRuleFromLog(log),
RuleBase: newBaseFromLog(log),
Qualifier: newQualifierFromLog(log),
Owner: isOwner(log),
Path: log["name"],
@ -114,7 +114,7 @@ type Link struct {
func newLinkFromLog(log map[string]string) Rule {
return &Link{
RuleBase: newRuleFromLog(log),
RuleBase: newBaseFromLog(log),
Qualifier: newQualifierFromLog(log),
Owner: isOwner(log),
Path: log["name"],