-
Notifications
You must be signed in to change notification settings - Fork 15
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
update payload to generate snapshot #33
Conversation
50fa5af
to
9f8fd99
Compare
5015029
to
f9cb5ce
Compare
Signed-off-by: Eti Ijeoma <[email protected]>
Signed-off-by: Eti Ijeoma <[email protected]>
Signed-off-by: Eti Ijeoma <[email protected]>
Signed-off-by: Eti Ijeoma <[email protected]>
Signed-off-by: Eti Ijeoma <[email protected]>
731f8fb
to
d7f6ee3
Compare
Signed-off-by: Eti Ijeoma <[email protected]>
Signed-off-by: Eti Ijeoma <[email protected]>
Signed-off-by: Eti Ijeoma <[email protected]>
ErrGeneratingSnapshotCode = "kanvas-snapshot-902" | ||
ErrHTTPPostRequestCode = "kanvas-snapshot-903" | ||
ErrDecodingAPICode = "kanvas-snapshot-905" | ||
ErrUnexpectedResponseCodeCode = "kanvas-snapshot-906" |
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.
Will you enhance the ErrInvalidChartURI message to be more specific about filesystem and/or URL references?
ErrHTTPPostRequestCode = "kanvas-snapshot-1003" | ||
ErrDecodingAPICode = "kanvas-snapshot-1004" | ||
ErrRequiredFieldNotProvidedCode = "kanvas-snapshot-1005" | ||
ErrInvalidChartURICode = "kanvas-snapshot-900" |
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.
ErrCreatingMesheryDesign - offers little insight as to what happened (why the chart wasn't converted to design) and what to do about it or where to go for help.
@@ -1,16 +1,18 @@ | |||
package errors | |||
|
|||
import ( | |||
"fmt" | |||
|
|||
"github.com/layer5io/meshkit/errors" | |||
) | |||
|
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.
ErrHTTPPostRequest - the message isn't overly accurate or helpful. It would seem that the most likely cause of this failure is
- User's network connectivity. Can they reach the currently configured remote provider?
- The currently configured remote provider is unavailable / down.
- Network connectivity is fine, but their request was malformed. Are they missing a required parameter (an email address) or did they provide an invalid email address?
- Network connectivity is fine, but they authentication failed.
Signed-off-by: Lee Calcote <[email protected]>
Signed-off-by: Lee Calcote <[email protected]>
Signed-off-by: Lee Calcote <[email protected]>
Signed-off-by: Lee Calcote <[email protected]>
Signed-off-by: Lee Calcote <[email protected]>
Signed-off-by: Lee Calcote <[email protected]>
Signed-off-by: Lee Calcote <[email protected]>
Signed-off-by: Lee Calcote <[email protected]>
@Aijeyomah I was expecting to see some movement on this PR today. I’m going to merge now. I’ll ask that you address the outstanding comments on both this and @MUzairS15's PR. |
Notes for Reviewers
This PR fixes #
mesheryctl
. Will add test for knavas-snapshot in another PRSigned commits