Skip to content

Commit

Permalink
roll back a name change
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Aug 3, 2018
1 parent 878b2cc commit b1cc66c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export class BulkUploader {
callCluster: this._callClusterWithInternalUser,
savedObjectsClient: this._savedObjectsClient,
});
const payload = BulkUploader.getCollectedData(data, collectorSet);
const payload = BulkUploader.toBulkUploadFormat(data, collectorSet);

if (payload) {
try {
Expand Down Expand Up @@ -150,7 +150,7 @@ export class BulkUploader {
* Bulk stats are transformed into a bulk upload format
* Non-legacy transformation is done in CollectorSet.toApiStats
*/
static getCollectedData(uploadData, collectorSet) {
static toBulkUploadFormat(uploadData, collectorSet) {
if (compact(uploadData).length > 0) {
return flatten(BulkUploader.deepMergeUploadData(uploadData, collectorSet));
}
Expand Down

0 comments on commit b1cc66c

Please sign in to comment.