Skip to content

Commit 52225bc

Browse files
author
Kazuyoshi Kato
authored
Merge pull request #8672 from thaJeztah/save_some_trees
replace some basic uses of fmt.Sprintf()
2 parents 3fb325b + 9e185ca commit 52225bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ func (r *Registration) Init(ic *InitContext) *Plugin {
130130

131131
// URI returns the full plugin URI
132132
func (r *Registration) URI() string {
133-
return fmt.Sprintf("%s.%s", r.Type, r.ID)
133+
return r.Type.String() + "." + r.ID
134134
}
135135

136136
var register = struct {

0 commit comments

Comments
 (0)