Commit ccded668 authored by Petr Pudlak's avatar Petr Pudlak

Fix bracket style in rapi-workload

Pep8 complained about bracket indentation. This fixes it to satisfy Pep8
as well as our style guide.
Signed-off-by: default avatarPetr Pudlak <pudlak@google.com>
Reviewed-by: default avatarHrvoje Ribicic <riba@google.com>
parent b9202225
......@@ -300,17 +300,19 @@ def TestQueryFiltering(client, master_name):
@param master_name: The hostname of the master node.
"""
client.Query("node", ["name"],
["|",
["=", "name", master_name],
[">", "dtotal", 0],
])
client.Query("instance", ["name"],
["|",
["=", "name", "NonexistentInstance"],
[">", "oper_ram", 0],
])
qfilter = [
"|",
["=", "name", master_name],
[">", "dtotal", 0],
]
client.Query("node", ["name"], qfilter)
qfilter = [
"|",
["=", "name", "NonexistentInstance"],
[">", "oper_ram", 0],
]
client.Query("instance", ["name"], qfilter)
def RemoveAllInstances(client):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment