Skip to content

Commit 7979d31

Browse files
committed
[FAB-13210] Remove unused code in orderer/.../main.go
This change set removes unused code in the file orderer/common/server/main.go Change-Id: I5b5b3fe960633c8400008ba51a71e2c63344bdcf Signed-off-by: yacovm <yacovm@il.ibm.com>
1 parent 2c685b0 commit 7979d31

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

orderer/common/server/main.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -415,14 +415,6 @@ func initializeMultichannelRegistrar(bootstrapBlock *cb.Block,
415415
return registrar
416416
}
417417

418-
// logFunc implements the go-kit Logger interface
419-
type logFunc func(keyvals ...interface{}) error
420-
421-
// Log creates a log record
422-
func (l logFunc) Log(keyvals ...interface{}) error {
423-
return l(keyvals...)
424-
}
425-
426418
func newOperationsSystem(ops localconfig.Operations, metrics localconfig.Metrics) *operations.System {
427419
return operations.NewSystem(operations.Options{
428420
Logger: flogging.MustGetLogger("orderer.operations"),

0 commit comments

Comments
 (0)