Send platform parameter when creating labels (#1179)

* Catches errors when polling for data on Manage Hosts Page

* Sends platform parameter to server on label create

* Remove unnecessary condition to format platform param

* Clean up scheduled query formData
This commit is contained in:
Mike Stone
2017-02-07 13:37:41 -05:00
committed by GitHub
parent e60a732c48
commit 3120acf8f3
6 changed files with 12 additions and 12 deletions
@@ -11,7 +11,7 @@ import validate from 'components/forms/ConfigurePackQueryForm/validate';
const baseClass = 'configure-pack-query-form';
const fieldNames = ['query_id', 'interval', 'logging_type', 'platform', 'shard', 'version'];
const platformOptions = [
{ label: 'All', value: 'all' },
{ label: 'All', value: '' },
{ label: 'Windows', value: 'windows' },
{ label: 'Linux', value: 'linux' },
{ label: 'macOS', value: 'darwin' },