Skip to content

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuri Shkuro committed Jul 22, 2016
1 parent 5cc3ee0 commit a1863bc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,13 @@ type Channel struct {
// channelConnectionCommon is the list of common objects that both use
// and can be copied directly from the channel to the connection.
type channelConnectionCommon struct {
log Logger
relayStats relay.Stats
relayLocal map[string]struct{}
statsReporter StatsReporter
tracer opentracing.Tracer
subChannels *subChannelMap
timeNow func() time.Time
log Logger
relayStats relay.Stats
relayLocal map[string]struct{}
statsReporter StatsReporter
tracer opentracing.Tracer
subChannels *subChannelMap
timeNow func() time.Time
}

// Tracer returns the OpenTracing Tracer for this channel. If no tracer was provided
Expand Down Expand Up @@ -196,11 +196,11 @@ func NewChannel(serviceName string, opts *ChannelOptions) (*Channel, error) {
log: logger.WithFields(
LogField{"service", serviceName},
LogField{"process", processName}),
relayStats: relayStats,
relayLocal: toStringSet(opts.RelayLocalHandlers),
statsReporter: statsReporter,
subChannels: &subChannelMap{},
timeNow: timeNow,
relayStats: relayStats,
relayLocal: toStringSet(opts.RelayLocalHandlers),
statsReporter: statsReporter,
subChannels: &subChannelMap{},
timeNow: timeNow,
tracer: opts.Tracer,
},

Expand Down
2 changes: 1 addition & 1 deletion context_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ func (cb *ContextBuilder) Build() (ContextWithHeaders, context.CancelFunc) {
retryOptions: cb.RetryOptions,
connectTimeout: cb.ConnectTimeout,
hideListeningOnOutbound: cb.hideListeningOnOutbound,
tracingDisabled: cb.TracingDisabled,
tracingDisabled: cb.TracingDisabled,
}

parent := cb.ParentContext
Expand Down

0 comments on commit a1863bc

Please sign in to comment.