return nil
}
- return fmt.Errorf("groups %s and %s both provide file %q\n"+
+ return fmt.Errorf("groups %s and %s both provide %q\n"+
"Use 'group_priority' in config.yaml to declare preference",
group, old.OrigGroup, path)
}
"host1.example.org: <nil> 3 host groups: all dns host1.example.org",
"host1.example.org: <nil> 3 host group priorities (descending): host1.example.org",
},
- fmt.Errorf("groups dns and all both provide file \"/etc/resolv.conf\"\nUse 'group_priority' in config.yaml to declare preference"),
+ fmt.Errorf("groups dns and all both provide \"/etc/resolv.conf\"\nUse 'group_priority' in config.yaml to declare preference"),
},
{
"conflict: file from detected group",
"host2.example.org: <nil> 3 host groups: all detected_other host2.example.org other",
"host2.example.org: <nil> 3 host group priorities (descending): host2.example.org",
},
- fmt.Errorf("groups other and all both provide file \"/etc/resolv.conf\"\nUse 'group_priority' in config.yaml to declare preference"),
+ fmt.Errorf("groups other and all both provide \"/etc/resolv.conf\"\nUse 'group_priority' in config.yaml to declare preference"),
},
{
"host1.example.org: <nil> 3 host groups: all dns host1.example.org",
"host1.example.org: <nil> 3 host group priorities (descending): host1.example.org",
},
- fmt.Errorf("groups dns and all both provide file \"/etc\"\nUse 'group_priority' in config.yaml to declare preference"),
+ fmt.Errorf("groups dns and all both provide \"/etc\"\nUse 'group_priority' in config.yaml to declare preference"),
},
{
"conflict: dir from detected group",
"host2.example.org: <nil> 3 host groups: all detected_other host2.example.org other",
"host2.example.org: <nil> 3 host group priorities (descending): host2.example.org",
},
- fmt.Errorf("groups other and all both provide file \"/etc\"\nUse 'group_priority' in config.yaml to declare preference"),
+ fmt.Errorf("groups other and all both provide \"/etc\"\nUse 'group_priority' in config.yaml to declare preference"),
},
{