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 #13209] Weird behavior for empty values #2623

Closed
icinga-migration opened this issue Nov 16, 2016 · 1 comment
Closed

[dev.icinga.com #13209] Weird behavior for empty values #2623

icinga-migration opened this issue Nov 16, 2016 · 1 comment
Labels
area/configuration Affects the configuration bug Something isn't working

Comments

@icinga-migration
Copy link

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

Created by mfrosch on 2016-11-16 09:43:48 +00:00

Assignee: (none)
Status: New
Target Version: (none)
Last Update: 2016-11-16 09:43:48 +00:00 (in Redmine)


Here is an example config - INI style:

[icinga_ido]
dbname = "icingaweb2"
port = "3306"
host = "localhost"
db = "mysql"
username = "icingaweb2"
type = db
charset =

[icinga-director]
port = ""
charset = utf8
username = "icinga_director"
dbname = "icinga_director"
host = "localhost"
db = "mysql"
type = db

The resource "icinga-director" is not found, since the value "[icinga-director]" is added the the previous "charset = ".

Same goes for inside a resource:

[test]
test = 
muh = "really"

Now parameter test equals 'muh = "really"', parameter muh is not set.

Please keep it INI compatible :)

@icinga-migration icinga-migration added bug Something isn't working area/configuration Affects the configuration labels Jan 17, 2017
@Al2Klimov
Copy link
Member

Hello @lazyfrosch,

This has been fixed "accidentally" by #2775.

Best,
AK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/configuration Affects the configuration bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants