Skip to content

Commit

Permalink
fixing name of the option for the notification service tranformer for…
Browse files Browse the repository at this point in the history
… the pub/sub proxy (#16)
  • Loading branch information
Daniel Feinberg authored Apr 25, 2019
1 parent 561a653 commit 6bf848f
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ package httptransformer
import (
"encoding/json"
"fmt"
"github.com/pantheon-systems/pauditd/pkg/system"
"github.com/spf13/viper"
"os"
"regexp"
"strings"

"github.com/pantheon-systems/pauditd/pkg/system"
"github.com/spf13/viper"

"github.com/pantheon-systems/pauditd/pkg/metric"
"github.com/pantheon-systems/pauditd/pkg/slog"

Expand Down Expand Up @@ -38,7 +39,7 @@ func init() {

// NewNotificationServiceTransformer creates new transformer
func NewNotificationServiceTransformer(config *viper.Viper) ResponseBodyTransformer {
extraAttr := config.GetStringMapString("output.notification-service-transformer.extra_attributes")
extraAttr := config.GetStringMapString("output.notification_service_transformer.extra_attributes")
return &NotificationServiceTransformer{
hostname: getHostname(),
noTopicToStdOut: false,
Expand Down

0 comments on commit 6bf848f

Please sign in to comment.