From c579e7e5092616872172b2dfd634d83f87d0bc88 Mon Sep 17 00:00:00 2001 From: sago35 Date: Thu, 1 Sep 2022 21:30:29 +0900 Subject: [PATCH] Update compileopts/target.go Co-authored-by: Ayke --- compileopts/target.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compileopts/target.go b/compileopts/target.go index 66bcf714..f36561f9 100644 --- a/compileopts/target.go +++ b/compileopts/target.go @@ -100,7 +100,7 @@ func (spec *TargetSpec) overrideProperties(child *TargetSpec) error { } } default: - return fmt.Errorf("unknown field type : " + kind.String()) + return fmt.Errorf("unknown field type: %s", kind) } } return nil