Skip to content

Commit 4f7c22c

Browse files
committedDec 12, 2016
Move flogging pkg into the peer pkg
The flogging pkg is only utilized by peer and core module with single source-code file. It will keep the structure more tight to move the pkg under the core pkg. Change-Id: Id47cc1315f845dba625ed0fc61873a41250ff99d Signed-off-by: Baohua Yang <baohyang@cn.ibm.com>
1 parent 3ef851e commit 4f7c22c

File tree

8 files changed

+7
-7
lines changed

8 files changed

+7
-7
lines changed
 

‎core/admin.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"golang.org/x/net/context"
2626

2727
"github.com/golang/protobuf/ptypes/empty"
28-
"github.com/hyperledger/fabric/flogging"
28+
"github.com/hyperledger/fabric/core/flogging"
2929
pb "github.com/hyperledger/fabric/protos/peer"
3030
)
3131

‎core/chaincode/chaincode_support.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ import (
3333

3434
"github.com/hyperledger/fabric/core/container"
3535
"github.com/hyperledger/fabric/core/container/ccintf"
36+
"github.com/hyperledger/fabric/core/flogging"
3637
"github.com/hyperledger/fabric/core/ledger"
37-
"github.com/hyperledger/fabric/flogging"
3838
pb "github.com/hyperledger/fabric/protos/peer"
3939
)
4040

‎core/errors/errors.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
"fmt"
2323
"runtime"
2424

25-
"github.com/hyperledger/fabric/flogging"
25+
"github.com/hyperledger/fabric/core/flogging"
2626
logging "github.com/op/go-logging"
2727
)
2828

‎core/errors/errors_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"fmt"
2121
"testing"
2222

23-
"github.com/hyperledger/fabric/flogging"
23+
"github.com/hyperledger/fabric/core/flogging"
2424
)
2525

2626
func TestError(t *testing.T) {
File renamed without changes.

‎flogging/logging_test.go ‎core/flogging/logging_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ package flogging_test
1919
import (
2020
"testing"
2121

22-
"github.com/hyperledger/fabric/flogging"
22+
"github.com/hyperledger/fabric/core/flogging"
2323
"github.com/op/go-logging"
2424
"github.com/spf13/viper"
2525
)

‎peer/common/common.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ import (
2020
"fmt"
2121

2222
"github.com/hyperledger/fabric/core/errors"
23+
"github.com/hyperledger/fabric/core/flogging"
2324
"github.com/hyperledger/fabric/core/peer"
2425
"github.com/hyperledger/fabric/core/peer/msp"
25-
"github.com/hyperledger/fabric/flogging"
2626
"github.com/hyperledger/fabric/msp"
2727
pb "github.com/hyperledger/fabric/protos/peer"
2828
"github.com/spf13/viper"

‎peer/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ import (
3131

3232
"github.com/hyperledger/fabric/core"
3333
"github.com/hyperledger/fabric/core/crypto/primitives"
34+
"github.com/hyperledger/fabric/core/flogging"
3435
"github.com/hyperledger/fabric/core/peer/msp"
35-
"github.com/hyperledger/fabric/flogging"
3636
"github.com/hyperledger/fabric/peer/chaincode"
3737
"github.com/hyperledger/fabric/peer/clilogging"
3838
"github.com/hyperledger/fabric/peer/node"

0 commit comments

Comments
 (0)
Please sign in to comment.