aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-01-29 17:52:50 +0900
committerOphestra <cat@gensokyo.uk>2026-01-29 17:52:50 +0900
commitb26bc05bb0c392e52e964061ec598f4487e14f08 (patch)
tree97e2d91c41763ef8253804c6fd7efc144baf5b45 /cmd
parent2d63ea8feee3ece4a158da0b1cce5fd7ebc87769 (diff)
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>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/mbf/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/mbf/main.go b/cmd/mbf/main.go
index d6980e58..db1c2c58 100644
--- a/cmd/mbf/main.go
+++ b/cmd/mbf/main.go
@@ -146,7 +146,7 @@ func main() {
if len(args) != 1 {
return errors.New("cure requires 1 argument")
}
- if p, ok := rosa.Std.ResolveName(args[0]); !ok {
+ if p, ok := rosa.ResolveName(args[0]); !ok {
return fmt.Errorf("unsupported artifact %q", args[0])
} else {
pathname, _, err := cache.Cure(rosa.Std.Load(p))