Skip to content

Commit

Permalink
Run "make fmt" (istio#2344)
Browse files Browse the repository at this point in the history
  • Loading branch information
geeknoid authored Dec 27, 2017
1 parent 9196de2 commit b545aae
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 7 deletions.
1 change: 1 addition & 0 deletions broker/pkg/model/config/mock_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ package config

import (
gomock "github.com/golang/mock/gomock"

config "istio.io/api/broker/v1/config"
)

Expand Down
3 changes: 2 additions & 1 deletion mixer/pkg/il/compiler/compiler.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ package compiler

import (
"fmt"
"time"

descriptor "istio.io/api/mixer/v1/config/descriptor"
"istio.io/istio/mixer/pkg/expr"
"istio.io/istio/mixer/pkg/il"
"istio.io/istio/pkg/log"
"time"
)

// Compiler is a stateful compiler that can be used to gradually build an il.Program out of multiple independent
Expand Down
10 changes: 5 additions & 5 deletions mixer/pkg/perf/run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ func (b *mockB) fatalf(format string, args ...interface{}) {
b.fatalLog = append(b.fatalLog, fmt.Sprintf(format, args...))
}

var settings = Settings {
RunMode: InProcess,
Templates:make(map[string]template.Info),
Adapters: []adapter.InfoFn{},
var settings = Settings{
RunMode: InProcess,
Templates: make(map[string]template.Info),
Adapters: []adapter.InfoFn{},
}

// TestBasic smoke-tests the basic run infrastructure. It is not a real benchmark.
Expand All @@ -63,4 +63,4 @@ func TestBasic(t *testing.T) {
func TestRunDispatcher(t *testing.T) {
b := mockB{}
runDispatcherOnly(&b, &MinimalSetup, &settings)
}
}
1 change: 1 addition & 0 deletions mixer/pkg/runtime/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import (
"fmt"

"go.uber.org/zap"

"istio.io/istio/mixer/pkg/adapter"
"istio.io/istio/pkg/log"
)
Expand Down
1 change: 1 addition & 0 deletions pilot/cmd/pilot-discovery/server/monitoring.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import (

"github.com/golang/glog"
"github.com/prometheus/client_golang/prometheus/promhttp"

"istio.io/istio/pilot/tools/version"
)

Expand Down
1 change: 1 addition & 0 deletions pilot/proxy/envoy/discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import (
"github.com/golang/glog"
"github.com/hashicorp/go-multierror"
"github.com/prometheus/client_golang/prometheus"

"istio.io/istio/pilot/model"
"istio.io/istio/pilot/proxy"
"istio.io/istio/pilot/tools/version"
Expand Down
2 changes: 1 addition & 1 deletion security/cmd/node_agent/na/nodeagent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import (
"bytes"
"fmt"
"net"
"strings"
"testing"
"time"

Expand All @@ -32,7 +33,6 @@ import (
mockutil "istio.io/istio/security/pkg/util/mock"
"istio.io/istio/security/pkg/workload"
pb "istio.io/istio/security/proto"
"strings"
)

const (
Expand Down

0 comments on commit b545aae

Please sign in to comment.