Skip to content
New issue

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

[dev.icinga.com #10256] ConfigWriter::EmitValue should format floating point values properly #3462

Closed
icinga-migration opened this issue Sep 30, 2015 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/10256

Created by mfriedrich on 2015-09-30 14:43:42 00:00

Assignee: gbeutner
Status: Resolved (closed on 2015-09-30 14:45:06 00:00)
Target Version: 2.4.0
Last Update: 2015-09-30 14:54:27 00:00 (in Redmine)

Icinga Version: 2.4.0
Backport?: No
Include in Changelog: 0

Right now it's scientific format for double values.

[2015-09-30 16:40:22  0200] information/ConfigCompiler: Compiling config file: icinga2b/lib/icinga2/modified-attributes.conf
[2015-09-30 16:40:22  0200] critical/config: Error: syntax error, unexpected T_IDENTIFIER, expecting '}'
Location:
icinga2b/lib/icinga2/modified-attributes.conf(16):  obj.modify_attribute("address", "8.8.8.2")
icinga2b/lib/icinga2/modified-attributes.conf(17):  obj.modify_attribute("check_command", "ping4")
icinga2b/lib/icinga2/modified-attributes.conf(18):  obj.version = 1.44362e 09
                                                                         ^
icinga2b/lib/icinga2/modified-attributes.conf(19): }
icinga2b/lib/icinga2/modified-attributes.conf(20):

Changesets

2015-09-30 14:43:32 00:00 by (unknown) 359fb3f

Fix formatting for floating-point values in ConfigWriter

fixes #10256
@icinga-migration
Copy link
Author

Updated by Anonymous on 2015-09-30 14:45:06 00:00

  • Status changed from New to Resolved
  • Done % changed from 0 to 100

Applied in changeset 359fb3f.

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2015-09-30 14:54:27 00:00

  • Assigned to set to gbeutner

@icinga-migration icinga-migration added bug Something isn't working libbase labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 2.4.0 milestone Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant