From 1b3b4406ff258c4d403fa9255077142894ea1b34 Mon Sep 17 00:00:00 2001 From: James Shubin Date: Tue, 18 Oct 2016 14:04:47 -0400 Subject: [PATCH] resources: Interfaces parameters can be named to help documentation --- resources/resources.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/resources.go b/resources/resources.go index 582774ed..d63a43fa 100644 --- a/resources/resources.go +++ b/resources/resources.go @@ -112,7 +112,7 @@ type Res interface { //Validate() error // TODO: this might one day be added GetUUIDs() []ResUUID // most resources only return one Watch(chan event.Event) error // send on channel to signal process() events - CheckApply(bool) (bool, error) + CheckApply(apply bool) (checkOK bool, err error) AutoEdges() AutoEdge Compare(Res) bool CollectPattern(string) // XXX: temporary until Res collection is more advanced