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
Return exit code 0 when a core is already up to date (#2207)
* fix wrong type assertion
* use feedback.Fatal otherwise it won't flush the stdout as json format
* use feedback.PrintResult instead of using fatal
* use errors.As in case in the future the err coming from PlatformUpgrade might be wrapped
errors.As search through all the wrapped error for our target type, in case it finds it then it popolate that struct but more important we can use it as a type assertion even if is nested through many errors
0 commit comments