From e32b1e66f325f7e53850a72feafb6c7aafce3b22 Mon Sep 17 00:00:00 2001 From: Stephen J Day Date: Thu, 18 Dec 2014 21:39:56 -0800 Subject: [PATCH] Simplify parameter descriptor declarations --- api/v2/descriptors.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/v2/descriptors.go b/api/v2/descriptors.go index f7b9de4b..c1b31f00 100644 --- a/api/v2/descriptors.go +++ b/api/v2/descriptors.go @@ -615,7 +615,7 @@ var routeDescriptors = []RouteDescriptor{ nameParameterDescriptor, }, QueryParameters: []ParameterDescriptor{ - ParameterDescriptor{ + { Name: "digest", Type: "query", Format: "", @@ -818,7 +818,7 @@ var routeDescriptors = []RouteDescriptor{ uuidParameterDescriptor, }, QueryParameters: []ParameterDescriptor{ - ParameterDescriptor{ + { Name: "digest", Type: "string", Format: "",