Skip to content

Commit

Permalink
Move flogging pkg into the peer pkg
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
yeasy committed Dec 12, 2016
1 parent 3ef851e commit 4f7c22c
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion core/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"golang.org/x/net/context"

"github.com/golang/protobuf/ptypes/empty"
"github.com/hyperledger/fabric/flogging"
"github.com/hyperledger/fabric/core/flogging"
pb "github.com/hyperledger/fabric/protos/peer"
)

Expand Down
2 changes: 1 addition & 1 deletion core/chaincode/chaincode_support.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ import (

"github.com/hyperledger/fabric/core/container"
"github.com/hyperledger/fabric/core/container/ccintf"
"github.com/hyperledger/fabric/core/flogging"
"github.com/hyperledger/fabric/core/ledger"
"github.com/hyperledger/fabric/flogging"
pb "github.com/hyperledger/fabric/protos/peer"
)

Expand Down
2 changes: 1 addition & 1 deletion core/errors/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"fmt"
"runtime"

"github.com/hyperledger/fabric/flogging"
"github.com/hyperledger/fabric/core/flogging"
logging "github.com/op/go-logging"
)

Expand Down
2 changes: 1 addition & 1 deletion core/errors/errors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"fmt"
"testing"

"github.com/hyperledger/fabric/flogging"
"github.com/hyperledger/fabric/core/flogging"
)

func TestError(t *testing.T) {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion flogging/logging_test.go → core/flogging/logging_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package flogging_test
import (
"testing"

"github.com/hyperledger/fabric/flogging"
"github.com/hyperledger/fabric/core/flogging"
"github.com/op/go-logging"
"github.com/spf13/viper"
)
Expand Down
2 changes: 1 addition & 1 deletion peer/common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import (
"fmt"

"github.com/hyperledger/fabric/core/errors"
"github.com/hyperledger/fabric/core/flogging"
"github.com/hyperledger/fabric/core/peer"
"github.com/hyperledger/fabric/core/peer/msp"
"github.com/hyperledger/fabric/flogging"
"github.com/hyperledger/fabric/msp"
pb "github.com/hyperledger/fabric/protos/peer"
"github.com/spf13/viper"
Expand Down
2 changes: 1 addition & 1 deletion peer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import (

"github.com/hyperledger/fabric/core"
"github.com/hyperledger/fabric/core/crypto/primitives"
"github.com/hyperledger/fabric/core/flogging"
"github.com/hyperledger/fabric/core/peer/msp"
"github.com/hyperledger/fabric/flogging"
"github.com/hyperledger/fabric/peer/chaincode"
"github.com/hyperledger/fabric/peer/clilogging"
"github.com/hyperledger/fabric/peer/node"
Expand Down

0 comments on commit 4f7c22c

Please sign in to comment.