Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0a0fb52

Browse files
committed
s/etag/eTag
1 parentae62d26 commit0a0fb52

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/main/kotlin/com/coder/gateway/cli/CoderCLIManager.kt‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,17 +116,17 @@ class CoderCLIManager(
116116
* Download the CLI from the deployment if necessary.
117117
*/
118118
fundownload():Boolean {
119-
valetag= getBinaryETag()
119+
valeTag= getBinaryETag()
120120
val conn= remoteBinaryURL.openConnection()asHttpURLConnection
121121
if (settings.headerCommand.isNotBlank()) {
122122
val headersFromHeaderCommand= getHeaders(deploymentURL, settings.headerCommand)
123123
for ((key, value)in headersFromHeaderCommand) {
124124
conn.setRequestProperty(key, value)
125125
}
126126
}
127-
if (etag!=null) {
128-
logger.info("Found existing binary at$localBinaryPath; calculated hash as$etag")
129-
conn.setRequestProperty("If-None-Match","\"$etag\"")
127+
if (eTag!=null) {
128+
logger.info("Found existing binary at$localBinaryPath; calculated hash as$eTag")
129+
conn.setRequestProperty("If-None-Match","\"$eTag\"")
130130
}
131131
conn.setRequestProperty("Accept-Encoding","gzip")
132132
if (connisHttpsURLConnection) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp