fix lint issue - renamed CompatibilityChecker to Checker

Signed-off-by: aiordache <anca.iordache@docker.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
aiordache 2020-06-12 15:00:27 +02:00 committed by Nicolas De Loof
parent bb98dae082
commit 9e8ddb63cc
No known key found for this signature in database
GPG Key ID: 9858809D6F8F6E7E
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ import (
type Warning string
type Warnings []string
type CompatibilityChecker interface {
type Checker interface {
CheckService(service *types.ServiceConfig)
CheckCapAdd(service *types.ServiceConfig)
CheckDNS(service *types.ServiceConfig)

View File

@ -168,4 +168,4 @@ func (c *FargateCompatibilityChecker) CheckLabels(service *types.ServiceConfig)
}
}
var _ CompatibilityChecker = &FargateCompatibilityChecker{}
var _ Checker = &FargateCompatibilityChecker{}