fix: complete target diagnostics and reset inspection
This commit is contained in:
@@ -50,6 +50,9 @@ func TestProductionCompositionRegistersAPTContainerGNOMEAndDaemonTargets(t *test
|
||||
var ids []string
|
||||
for _, adapter := range targets {
|
||||
ids = append(ids, adapter.ID())
|
||||
if _, ok := adapter.(target.Diagnosable); !ok {
|
||||
t.Errorf("production Target %s does not contribute doctor checks", adapter.ID())
|
||||
}
|
||||
}
|
||||
want := []string{"apt", "docker-containers", "gnome", "docker-daemon"}
|
||||
if strings.Join(ids, ",") != strings.Join(want, ",") {
|
||||
|
||||
Reference in New Issue
Block a user