-
Notifications
You must be signed in to change notification settings - Fork 632
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
bd6bfde
commit e85a454
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