浏览代码

Merge pull request #2560 from thaJeztah/remove_dead_code

types: remove some dead code
Tibor Vass 4 年之前
父节点
当前提交
32e231a258
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      libnetwork/types/types.go

+ 0 - 4
libnetwork/types/types.go

@@ -591,8 +591,6 @@ func (br badRequest) Error() string {
 }
 func (br badRequest) BadRequest() {}
 
-type maskBadRequest string
-
 type notFound string
 
 func (nf notFound) Error() string {
@@ -614,8 +612,6 @@ func (ns noService) Error() string {
 }
 func (ns noService) NoService() {}
 
-type maskNoService string
-
 type timeout string
 
 func (to timeout) Error() string {