Skip to content

Commit 9a3d811

Browse files
committed
add some comments
1 parent 59a19f3 commit 9a3d811

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

coderd/parameters.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ func (api *API) handleDynamicParameters(listen bool, rw http.ResponseWriter, r *
155155
return
156156
}
157157
defer closeableTemplateFS.Close()
158+
// templateFS does not implement the Close method. For it to be later merged with
159+
// the module files, we need to convert it to an OverlayFS.
158160
templateFS = closeableTemplateFS
159161

160162
// Having the Terraform plan available for the evaluation engine is helpful

0 commit comments

Comments
 (0)