Skip to content

Commit 5e0624d

Browse files
authored
Fix import grouping in orderer/{common,consensus} (hyperledger#1579)
Signed-off-by: Matthew Sykes <[email protected]>
1 parent 4665cb7 commit 5e0624d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

orderer/common/onboarding/onboarding.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ SPDX-License-Identifier: Apache-2.0
77
package onboarding
88

99
import (
10-
"github.com/hyperledger/fabric-config/protolator"
1110
"os"
1211
"sync"
1312
"time"
1413

1514
"github.com/golang/protobuf/proto"
15+
"github.com/hyperledger/fabric-config/protolator"
1616
"github.com/hyperledger/fabric-protos-go/common"
1717
"github.com/hyperledger/fabric/bccsp"
1818
"github.com/hyperledger/fabric/common/channelconfig"

orderer/consensus/cluster_status_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ SPDX-License-Identifier: Apache-2.0
77
package consensus_test
88

99
import (
10-
"github.com/hyperledger/fabric/orderer/common/types"
1110
"testing"
1211

12+
"github.com/hyperledger/fabric/orderer/common/types"
1313
"github.com/hyperledger/fabric/orderer/consensus"
1414
"github.com/stretchr/testify/assert"
1515
)

orderer/consensus/etcdraft/chain.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import (
1010
"context"
1111
"encoding/pem"
1212
"fmt"
13-
"github.com/hyperledger/fabric/orderer/common/types"
1413
"sync"
1514
"sync/atomic"
1615
"time"
@@ -23,6 +22,7 @@ import (
2322
"github.com/hyperledger/fabric/bccsp"
2423
"github.com/hyperledger/fabric/common/flogging"
2524
"github.com/hyperledger/fabric/orderer/common/cluster"
25+
"github.com/hyperledger/fabric/orderer/common/types"
2626
"github.com/hyperledger/fabric/orderer/consensus"
2727
"github.com/hyperledger/fabric/protoutil"
2828
"github.com/pkg/errors"

orderer/consensus/inactive/inactive_chain_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ SPDX-License-Identifier: Apache-2.0
77
package inactive_test
88

99
import (
10-
"github.com/hyperledger/fabric/orderer/common/types"
1110
"testing"
1211

12+
"github.com/hyperledger/fabric/orderer/common/types"
1313
"github.com/hyperledger/fabric/orderer/consensus/inactive"
1414
"github.com/pkg/errors"
1515
"github.com/stretchr/testify/assert"

0 commit comments

Comments
 (0)