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
[mesheryctl] Make 'system reset' context aware #2265
[mesheryctl] Make 'system reset' context aware #2265
Conversation
Signed-off-by: navendu-pottekkat <navendupottekkat@gmail.com>
This is still a WIP do ping me when you're partially or completely done. Or if you need my help. As far as I can see the changes are yet to be implemented |
Signed-off-by: navendu-pottekkat <navendupottekkat@gmail.com>
Signed-off-by: navendu-pottekkat <navendupottekkat@gmail.com>
@anirudhjain75 @leecalcote Yes, this is a WIP. I still have to implement the fetch from GitHub using the API part. I will try to get it done today. |
Signed-off-by: navendu-pottekkat <navendupottekkat@gmail.com>
Signed-off-by: navendu-pottekkat <navendupottekkat@gmail.com>
Signed-off-by: navendu-pottekkat <navendupottekkat@gmail.com>
@leecalcote @anirudhjain75 I have made a basic fix for this issue that seem to be working while I tested locally. I still need to setup some error handling for all possible scenarios. But this works and please check it and let me know for any changes. |
@navendu-pottekkat, I don't believe that this was part of the original ask, but will you consider support of the I assume not given that the |
Signed-off-by: leecalcote <leecalcote@gmail.com>
} | ||
|
||
currentContext := mctlCfg.CurrentContext | ||
currChannel := mctlCfg.Contexts[currentContext].Channel |
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.
The system
level struct should be filtering any invalid values for channel and version, so confirmation of valid values shouldn't have to be considered here.
@anirudhjain75 will you confirm that this is the case?
I think it is better to raise this as a separate issue and make a new PR |
Signed-off-by: navendu-pottekkat <navendupottekkat@gmail.com>
@anirudhjain75 @leecalcote I have made the changes to the logs. It looks like this now-
Overriding the context using the -c flag can be made into another issue and a separate PR can be made. @anirudhjain75 Please review and merge this PR. |
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.
instead of default settings - can we print currVersion ? or default settings of currVersion?
@hexxdump We are actually printing the version. Here v0.4.20 is the version.
|
Sounds real good. Let's do a new issue/PR. |
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.
Looking good. A follow up issue on "platform" support for "docker" and for -c
flag...
Signed-off-by: navendu-pottekkat navendupottekkat@gmail.com
Description
This PR fixes #2248
Notes for Reviewers
This is a draft PR and is not ready for review.
Signed commits