From 995d1eea060c1381a4a1dd9596ff7c64cf430d93 Mon Sep 17 00:00:00 2001 From: Zach Shepherd Date: Tue, 7 Nov 2017 17:17:37 -0800 Subject: [PATCH] Clarify comment in common code for API handlers Clarify an unclear comment identified during review of the merge commit for the VCH creation API feature branch. --- lib/apiservers/service/restapi/handlers/common.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/apiservers/service/restapi/handlers/common.go b/lib/apiservers/service/restapi/handlers/common.go index bd9da40e3c..658919de28 100644 --- a/lib/apiservers/service/restapi/handlers/common.go +++ b/lib/apiservers/service/restapi/handlers/common.go @@ -90,7 +90,8 @@ func validateTarget(ctx context.Context, d *data.Data) (*validate.Validator, err if err != nil { return nil, fmt.Errorf("Validation Error: %s", err) } - // If dc is not set, and multiple datacenter is available, vic-machine ls will list VCHs under all datacenters. + + // If dc is not set, and multiple datacenters are available, operate on all datacenters. validator.AllowEmptyDC() _, err = validator.ValidateTarget(ctx, d)