Skip to content

Instantly share code, notes, and snippets.

@misterdjules
Created February 21, 2018 19:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save misterdjules/9cc022687c1284c78b8d32679ebcd839 to your computer and use it in GitHub Desktop.
Save misterdjules/9cc022687c1284c78b8d32679ebcd839 to your computer and use it in GitHub Desktop.
diff --git a/lib/machines.js b/lib/machines.js
index 1ae8960..681acc7 100644
--- a/lib/machines.js
+++ b/lib/machines.js
@@ -271,7 +271,7 @@ function getListOptions(req) {
switch (req.params.type) {
case 'smartmachine':
- opts.predicate = '{ "and" [ ' +
+ opts.predicate = '{ "and": [ ' +
'{ "ne": [ "brand", "kvm" ] }, ' +
'{ "ne": [ "brand", "bhyve" ] }' +
' ] }';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment