-
Notifications
You must be signed in to change notification settings - Fork 40
bool data type is not supported for "toProtoMetric" function #10
Comments
Can you rephrase this with a more specific example? I don't understand what your saying. |
Input
Output
|
Ok. After looking at the code specified in the stack trace I see what you're referencing. Stated in more clear terms, bool is not one of the accepted types for the "Data" field. It is one of the accepted types by protobuf however and there is not any real reason for it not to be added here (other than I forgot to add it). I have a feeling this probably needs to be done on the snap side as well. I don't see the connection with config. Can you elaborate on that? Edit: Tagging the snap PR I think this work should be done in: #1150 |
I actually think there is another separate issue with the config here. The config is being dropped on it's way out of the plugin. I'm not sure that behavior makes sense. I can imagine the config being used on later steps in the workflow also. |
bool data is valid as either metric data or ConfigMap (BoolMap). By supplying bool data type to either metric or config, func
toProtoMetric
caused panic.The text was updated successfully, but these errors were encountered: