Skip to content
This repository was archived by the owner on Nov 18, 2025. It is now read-only.

Commit bbfc846

Browse files
authored
Fix some lint errors. (#272)
1 parent fc506e3 commit bbfc846

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

go/metadata/metadata.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,8 @@ func (e extension) Normalize() error {
248248
return nil
249249
}
250250

251+
// ExtensionMap returns the Extension field as a map if, when the metadata was read,
252+
// no extension type was specified.
251253
func (m *Metadata) ExtensionMap() (map[string]interface{}, bool) {
252254
if m.Extension == nil {
253255
return nil, false

go/wtl/service/sauce/connect.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ func (c *Connect) monitor() {
143143
portpicker.RecycleUnusedPort(c.port)
144144
}
145145

146+
// Name is the name of this component used in error and log messages.
146147
func (c *Connect) Name() string {
147148
return compName
148149
}

0 commit comments

Comments
 (0)