Skip to content

Commit

Permalink
Remove unused public constants (#2713)
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
  • Loading branch information
bogdandrutu authored Mar 16, 2021
1 parent 6e78278 commit ee21165
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions internal/processor/filterconfig/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,6 @@ func (mp *MatchProperties) ValidateForLogs() error {
return nil
}

// MatchTypeFieldName is the mapstructure field name for MatchProperties.Attributes field.
const AttributesFieldName = "attributes"

// Attribute specifies the attribute key and optional value to match against.
type Attribute struct {
// Key specifies the attribute key.
Expand Down
1 change: 0 additions & 1 deletion internal/testdata/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ var (
)

const (
TestLabelKey = "label"
TestLabelKey1 = "label-1"
TestLabelValue1 = "label-value-1"
TestLabelKey2 = "label-2"
Expand Down
2 changes: 0 additions & 2 deletions testbed/testbed/receivers.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,8 +295,6 @@ type ZipkinDataReceiver struct {

var _ DataReceiver = (*ZipkinDataReceiver)(nil)

const DefaultZipkinAddressPort = 9411

func NewZipkinDataReceiver(port int) *ZipkinDataReceiver {
return &ZipkinDataReceiver{DataReceiverBase: DataReceiverBase{Port: port}}
}
Expand Down

0 comments on commit ee21165

Please sign in to comment.