We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This issue has been migrated from Redmine: https://dev.icinga.com/issues/10329
Created by fir3wall on 2015-10-07 12:53:02 00:00
Assignee: gbeutner Status: Resolved (closed on 2015-10-26 10:10:03 00:00) Target Version: 2.4.0 Last Update: 2015-11-12 15:34:39 00:00 (in Redmine)
Backport?: No Include in Changelog: 1
Hello,
Would be beneficial if str() function will format dict and arrays into string objects.
Ex. vars.mylist = [ "hello", "world" ] vars.mystring = str(vars.mylist) // vars.mystring = helloworld
Current behaviour: ( string([ "hello", "world" ]) ) = "Object of type 'icinga::Array'"
IRC suggested temporary hack: [ "hello", "world" ].join(" ") ) = "hello world"
Thanks Dariusz
Changesets
2015-10-26 10:05:24 00:00 by (unknown) dd77863
Implement Array::ToString and Dictionary::ToString fixes #10329
The text was updated successfully, but these errors were encountered:
Updated by gbeutner on 2015-10-07 12:55:00 00:00
Sorry, something went wrong.
Updated by gbeutner on 2015-10-26 10:05:52 00:00
Updated by Anonymous on 2015-10-26 10:10:03 00:00
Applied in changeset dd77863.
Updated by gbeutner on 2015-11-06 16:58:12 00:00
Updated by mfriedrich on 2015-11-12 15:34:39 00:00
No branches or pull requests
This issue has been migrated from Redmine: https://dev.icinga.com/issues/10329
Created by fir3wall on 2015-10-07 12:53:02 00:00
Assignee: gbeutner
Status: Resolved (closed on 2015-10-26 10:10:03 00:00)
Target Version: 2.4.0
Last Update: 2015-11-12 15:34:39 00:00 (in Redmine)
Hello,
Would be beneficial if str() function will format dict and arrays into string objects.
Ex.
vars.mylist = [ "hello", "world" ]
vars.mystring = str(vars.mylist)
// vars.mystring = helloworld
Current behaviour:
( string([ "hello", "world" ]) ) = "Object of type 'icinga::Array'"
IRC suggested temporary hack:
[ "hello", "world" ].join(" ") ) = "hello world"
Thanks
Dariusz
Changesets
2015-10-26 10:05:24 00:00 by (unknown) dd77863
The text was updated successfully, but these errors were encountered: