diff --git a/go/metadata/metadata.go b/go/metadata/metadata.go index 0c5337c6..5d3b532f 100644 --- a/go/metadata/metadata.go +++ b/go/metadata/metadata.go @@ -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 diff --git a/go/wtl/service/sauce/connect.go b/go/wtl/service/sauce/connect.go index 75c793b0..80de42b9 100644 --- a/go/wtl/service/sauce/connect.go +++ b/go/wtl/service/sauce/connect.go @@ -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 }