commit | 6a00fd83db3ca981b4a0330f6627fc1de03b17b0 | [log] [tgz] |
---|---|---|
author | martin f. krafft <madduck@madduck.net> | Wed Aug 28 10:27:36 2013 +0200 |
committer | martin f. krafft <madduck@madduck.net> | Wed Aug 28 10:37:53 2013 +0200 |
tree | 06c934127400cc177504038afc4bad8573b4183d | |
parent | b640cfa489f29a58bed789ceec71afe3b5c4458e [diff] |
Limit top() output to minion if ID specified Salt expects the top data to be limited to those states applicable to the very minion being processed. Therefore, the interface needs to be extended to accept minion_id, and if that is specified, then only the minion-specific states are returned; else, the entire top data are returned, as before (which the CLI still does). Thanks to David Anderson for figuring this out! Signed-off-by: martin f. krafft <madduck@madduck.net>