forked from security/hakurei
internal/rosa: remove unused receiver
This returns the preset itself, it is up to the caller to load the underlying artifact. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -85,7 +85,7 @@ func (t Toolchain) Load(p PArtifact) pkg.Artifact {
|
||||
}
|
||||
|
||||
// ResolveName returns a [PArtifact] by name.
|
||||
func (t Toolchain) ResolveName(name string) (p PArtifact, ok bool) {
|
||||
func ResolveName(name string) (p PArtifact, ok bool) {
|
||||
p, ok = map[string]PArtifact{
|
||||
"acl": ACL,
|
||||
"attr": Attr,
|
||||
|
||||
Reference in New Issue
Block a user