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
Accept '@type' and '@id' in v1 configuration. fixes #500 #503
Conversation
I think that |
👌 |
Ah, should monitor agent support query string like |
f648d43
to
d240e5f
Compare
@tagomoris @sonots Applied reviews. |
@@ -43,7 +43,7 @@ def self.new(name = '') | |||
|
|||
module PluginId | |||
def configure(conf) | |||
@id = conf['id'] | |||
@id = conf['id'] || conf['@id'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be conf['@id'] || conf['id']
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ouch! Maybe I failed to handle git reset
...
Fix soon.
d240e5f
to
8bcca9e
Compare
@sonots @tagomoris Fixed! |
👍 (I found that I should follow this patch on fluent-plugin-forest or many other plugins...) |
@tagomoris Yes so this is why I don't put warning log in this version. I will put warning since 0.14 or later. |
8bcca9e
to
c022ae1
Compare
👍 |
cherry-picked to v0.10 branch. f9cefa2 |
Needed one more fix 513bd33 |
Revert fluent.conf too aba7deb |
Changes Unknown when pulling c022ae1 on at-prefix-for-type-and-id-parameters into * on master*. |
Plugin type and id are system reserved parameters like
@label
.So using '@' prefix is better for separating normal plugin parameters.
I will add this test to Agent tests.