Skip to content

Commit

Permalink
Add 'format' param to all Cat endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
polyfractal committed Feb 2, 2017
1 parent 35d5504 commit e4e3cda
Show file tree
Hide file tree
Showing 18 changed files with 36 additions and 18 deletions.
3 changes: 2 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Aliases.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ public function getParamWhitelist()
'help',
'v',
'format',
's'
's',
'format',
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Allocation.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ public function getParamWhitelist()
'h',
'help',
'v',
's'
's',
'format',
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Count.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ public function getParamWhitelist()
'h',
'help',
'v',
's'
's',
'format',
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Fielddata.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ public function getParamWhitelist()
'h',
'help',
'v',
's'
's',
'format',
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Health.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ public function getParamWhitelist()
'help',
'ts',
'v',
's'
's',
'format',
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Help.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ public function getParamWhitelist()
{
return array(
'help',
's'
's',
'format',
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Indices.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ public function getParamWhitelist()
'pri',
'v',
'health',
's'
's',
'format',
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Master.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ public function getParamWhitelist()
'h',
'help',
'v',
's'
's',
'format',
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/NodeAttrs.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ public function getParamWhitelist()
'h',
'help',
'v',
's'
's',
'format',
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Nodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ public function getParamWhitelist()
'help',
'v',
's',
'full_id'
'full_id',
'format',
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/PendingTasks.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ public function getParamWhitelist()
'h',
'help',
'v',
's'
's',
'format',
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Plugins.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ public function getParamWhitelist()
'h',
'help',
'v',
's'
's',
'format',
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Recovery.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ public function getParamWhitelist()
'h',
'help',
'v',
's'
's',
'format',
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Repositories.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ public function getParamWhitelist()
'h',
'help',
'v',
's'
's',
'format',
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Segments.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ public function getParamWhitelist()
'h',
'help',
'v',
's'
's',
'format',
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Shards.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ public function getParamWhitelist()
'h',
'help',
'v',
's'
's',
'format',
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Snapshots.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ public function getParamWhitelist()
'h',
'help',
'v',
's'
's',
'format',
);
}

Expand Down
3 changes: 2 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/ThreadPool.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ public function getParamWhitelist()
'full_id',
'size',
'thread_pool_patterns',
's'
's',
'format',
);
}

Expand Down

0 comments on commit e4e3cda

Please sign in to comment.