-
Notifications
You must be signed in to change notification settings - Fork 634
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Given: ``` set_kb_item(name: "port", value: 1); set_kb_item(name: "port", value: 2); set_kb_item(name: "port", value: 3); set_kb_item(name: "port", value: 4); set_kb_item(name: "port", value: 5); set_kb_item(name: "host", value: "a"); set_kb_item(name: "host", value: "b"); p = get_kb_item("port"); h = get_kb_item("host"); display(h, ":", p); ``` it should print every combination of host and port. This is done by changing the skip_values from an optional to vector and not removing it to allow multiple lookups within one statements.
- Loading branch information
1 parent
58bdf81
commit 3f1b2e3
Showing
2 changed files
with
181 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters