Skip to content

Commit

Permalink
Fix some lint errors. (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMarcII authored Jul 11, 2018
1 parent fc506e3 commit bbfc846
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions go/metadata/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ func (e extension) Normalize() error {
return nil
}

// ExtensionMap returns the Extension field as a map if, when the metadata was read,
// no extension type was specified.
func (m *Metadata) ExtensionMap() (map[string]interface{}, bool) {
if m.Extension == nil {
return nil, false
Expand Down
1 change: 1 addition & 0 deletions go/wtl/service/sauce/connect.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ func (c *Connect) monitor() {
portpicker.RecycleUnusedPort(c.port)
}

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

0 comments on commit bbfc846

Please sign in to comment.