Skip to content

Commit

Permalink
added google analytics test connection
Browse files Browse the repository at this point in the history
  • Loading branch information
xtreding committed Dec 17, 2020
1 parent c6d84ce commit d3263d9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions handlers/destinations.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,12 @@ func testConnection(config *storages.DestinationConfig) error {
defer gcp.Close()
}
}
return nil
case storages.GoogleAnalyticsType:
if err := config.GoogleAnalytics.Validate(); err != nil {
return err
}

return nil
default:
return errors.New("unsupported destination type " + config.Type)
Expand Down

0 comments on commit d3263d9

Please sign in to comment.