adds missing var collections SdkCollectionList
authorJoshua C. Randall <jcrandall@alum.mit.edu>
Fri, 19 Feb 2016 22:09:35 +0000 (22:09 +0000)
committerJoshua C. Randall <jcrandall@alum.mit.edu>
Fri, 19 Feb 2016 22:09:35 +0000 (22:09 +0000)
services/datamanager/collection/collection.go

index 42e0cc429054fbb8da0831f117881682f4be225f..7cc3ff720438254351c7cc9efe3e6f9c3b407b63 100644 (file)
@@ -228,6 +228,7 @@ func GetCollections(params GetCollectionsParams) (results ReadCollections, err e
        }
 
        // Make one final API request to verify that we have processed all collections available up to the latest modification date
+       var collections SdkCollectionList
        sdkParams["filters"].([][]string)[0][1] = "<="
        sdkParams["limit"] = 0
        err = params.Client.List("collections", sdkParams, &collections)