Skip to content

Conversation

hiddeco
Copy link
Member

@hiddeco hiddeco commented Sep 1, 2020

No description provided.

Given that:

* The produced artifact as advertisted in the path should always
  be a regular file (including the exclusion of symlinks).
* The produced artifact should be readable, so any type of error
  should count as "does not exist".

We should use `os.Lstat` to not follow symlinks; return `false`
on any error we run in to, or return if the file mode information
reports a regular file.
@hiddeco hiddeco added bug Something isn't working area/helm Helm related issues and pull requests labels Sep 1, 2020
@hiddeco hiddeco requested a review from stefanprodan September 1, 2020 14:11
@hiddeco hiddeco merged commit 5e45e54 into master Sep 1, 2020
@hiddeco hiddeco deleted the bugfix/storage-helm branch September 1, 2020 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/helm Helm related issues and pull requests bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants