Skip to content

Commit

Permalink
[IPFS-170] - Removed unused constant
Browse files Browse the repository at this point in the history
  • Loading branch information
Enghin Omer committed May 7, 2020
1 parent c1ed706 commit 7272908
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions plugin/datadog.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ var _ plugin.PluginTracer = &DatadogPlugin{}

var tracerName = "go-ipfs"

const tracerNameKey = "IpfsTracerName"

// "Plugins": {
// "datadog": {
// "Config": {
Expand Down
8 changes: 4 additions & 4 deletions plugin/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ import (
"github.com/ipfs/go-ipfs/plugin"
)

// LoggerPlugin controls which ipfs subsystems loggers are enabled
// These subsystems are defined in ipfs config Plugins
type LoggerPlugin struct{}

var _ plugin.Plugin = &LoggerPlugin{}

// "Plugins": {
Expand All @@ -32,6 +28,10 @@ type loggerConfig struct {
LogLevel string
}

// LoggerPlugin controls which ipfs subsystems loggers are enabled
// These subsystems are defined in ipfs config Plugins
type LoggerPlugin struct{}

func (l LoggerPlugin) Name() string {
return "logger"
}
Expand Down

0 comments on commit 7272908

Please sign in to comment.