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

@ -64,7 +64,7 @@ type Mount struct {
func newMountFromLog(log map[string]string) Rule {
return &Mount{
RuleBase: newRuleFromLog(log),
RuleBase: newBaseFromLog(log),
Qualifier: newQualifierFromLog(log),
MountConditions: newMountConditionsFromLog(log),
Source: log["srcname"],
@ -114,7 +114,7 @@ type Umount struct {
func newUmountFromLog(log map[string]string) Rule {
return &Umount{
RuleBase: newRuleFromLog(log),
RuleBase: newBaseFromLog(log),
Qualifier: newQualifierFromLog(log),
MountConditions: newMountConditionsFromLog(log),
MountPoint: log["name"],
@ -160,7 +160,7 @@ type Remount struct {
func newRemountFromLog(log map[string]string) Rule {
return &Remount{
RuleBase: newRuleFromLog(log),
RuleBase: newBaseFromLog(log),
Qualifier: newQualifierFromLog(log),
MountConditions: newMountConditionsFromLog(log),
MountPoint: log["name"],