-
Notifications
You must be signed in to change notification settings - Fork 7
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
Enter blocked status if resource and snap_channel #115
Conversation
When a resource is used, the `snap_channel` config option is ignored. In this case, the snap is installed directly from the resource file, so a "channel" doesn't make sense. If `snap_channel` is set and a resource is being used, it may indicate a confusion situation, such as the user changing the `snap_channel` and wondering why the snap isn't being updated. So the charm can alert the user to this situation via a message and blocked status. Fixes: #113
b7c40db
to
67fde95
Compare
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.
LGTM
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.
Overall LGTM, only one small question
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.
LGTM
When a resource is used, the
snap_channel
config option is ignored. In this case, the snap is installed directly from the resource file, so a "channel" doesn't make sense.If
snap_channel
is set and a resource is being used, it may indicate a confusion situation,such as the user changing the
snap_channel
and wondering why the snap isn't being updated.
So the charm can alert the user to this situation
via a message and blocked status.
Fixes: #113