You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.
With this task. To reproduce start snapd with the above config and load snap-collect-mock1, snap-processor-passthru, and snap-publisher-file.
I would expect the config values passed to my plugins from this task to be what is in the task manifest for the conflicting values (password, user, file). What actually appears to be happening is that the values from global config are getting passed through where they conflict. Worth mentioning here that there is no way for a user to see what the 'merged' value of the config is between global config and task-specific config is which is addressed in #846.
The text was updated successfully, but these errors were encountered:
When applying config's, task specific config should take precedence over
the more general global config.
A ReverseMerge function is added to ConfigDataNode in order to
facilitate this. ReverseMerge has the opposite overwriting behavior of
Merge, which is to overwrite any values which conflict. ReverseMerge
instead will not overwrite any conflicting values.
IRCody
added a commit
to IRCody/snap
that referenced
this issue
Apr 13, 2016
When applying config's, task specific config should take precedence over
the more general global config.
A ReverseMerge function is added to ConfigDataNode in order to
facilitate this. ReverseMerge has the opposite overwriting behavior of
Merge, which is to overwrite any values which conflict. ReverseMerge
instead will not overwrite any conflicting values.
When applying config's, task specific config should take precedence over
the more general global config.
A ReverseMerge function is added to ConfigDataNode in order to
facilitate this. ReverseMerge has the opposite overwriting behavior of
Merge, which is to overwrite any values which conflict. ReverseMerge
instead will not overwrite any conflicting values.
When starting snapd with this config:
With this task. To reproduce start snapd with the above config and load snap-collect-mock1, snap-processor-passthru, and snap-publisher-file.
I would expect the config values passed to my plugins from this task to be what is in the task manifest for the conflicting values (password, user, file). What actually appears to be happening is that the values from global config are getting passed through where they conflict. Worth mentioning here that there is no way for a user to see what the 'merged' value of the config is between global config and task-specific config is which is addressed in #846.
The text was updated successfully, but these errors were encountered: