We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentae62d26 commit0a0fb52Copy full SHA for 0a0fb52
src/main/kotlin/com/coder/gateway/cli/CoderCLIManager.kt
@@ -116,17 +116,17 @@ class CoderCLIManager(
116
* Download the CLI from the deployment if necessary.
117
*/
118
fundownload():Boolean {
119
-valetag= getBinaryETag()
+valeTag= getBinaryETag()
120
val conn= remoteBinaryURL.openConnection()asHttpURLConnection
121
if (settings.headerCommand.isNotBlank()) {
122
val headersFromHeaderCommand= getHeaders(deploymentURL, settings.headerCommand)
123
for ((key, value)in headersFromHeaderCommand) {
124
conn.setRequestProperty(key, value)
125
}
126
127
-if (etag!=null) {
128
- logger.info("Found existing binary at$localBinaryPath; calculated hash as$etag")
129
- conn.setRequestProperty("If-None-Match","\"$etag\"")
+if (eTag!=null) {
+ logger.info("Found existing binary at$localBinaryPath; calculated hash as$eTag")
+ conn.setRequestProperty("If-None-Match","\"$eTag\"")
130
131
conn.setRequestProperty("Accept-Encoding","gzip")
132
if (connisHttpsURLConnection) {