Skip to content

Conversation

@deeptivaidymsft
Copy link
Collaborator

  • PR defines various user and system errors that can be used to provide clarification in the extension substatus
  • Incorporates errors with clarification throughout CSE Linux + tests

dir, err := ioutil.TempDir("", "")
require.Nil(t, err)
dir := os.TempDir()
// require.Nil(t, err)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be checking for a nil ewc?


n, err := download.WithRetries(nopLog(), file, []download.Downloader{d}, sr.Sleep)
require.Nil(t, err, "should not fail")
require.Nil(t, err.Err, "should not fail")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks strange. If there is no error, then we shouldn't return one. Requiring one to check within the err object seems likely to cause problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants