updating context comment for FetchConfig's stream
@@ -80,9 +80,8 @@ func (configSource FileConfigSource) FetchConfig(logger lager.Logger, repo *arti
return atc.TaskConfig{}, UnknownArtifactSourceError{sourceName, configSource.ConfigPath}
}
- // TODO: idk if we really want to pass a context in here. This is a very
- // shortlived stream. It would pollute the TaskConfigSource Interface
- // as all the FetchConfigs will be need to have this passed in.
+ // This context is not passed down yet because it would pollute the
+ // TaskConfigSource Interface as all the FetchConfigs will be need to have this passed in.
stream, err := source.StreamFile(context.TODO(), logger, filePath)
if err != nil {
if err == baggageclaim.ErrFileNotFound {
