17344: Remove client code setting X-External-Client header.
[arvados.git] / tools / keep-block-check / keep-block-check.go
index 995a1fd559a396c9b364a0bea6adcf40b66176d0..6127485835388d359b64e5ffae4cd2607c298cc6 100644 (file)
@@ -108,7 +108,6 @@ type apiConfig struct {
        APIToken        string
        APIHost         string
        APIHostInsecure bool
-       ExternalClient  bool
 }
 
 // Load config from given file
@@ -152,8 +151,6 @@ func readConfigFromFile(filename string) (config apiConfig, blobSigningKey strin
                                config.APIHost = value
                        case "ARVADOS_API_HOST_INSECURE":
                                config.APIHostInsecure = arvadosclient.StringBool(value)
-                       case "ARVADOS_EXTERNAL_CLIENT":
-                               config.ExternalClient = arvadosclient.StringBool(value)
                        case "ARVADOS_BLOB_SIGNING_KEY":
                                blobSigningKey = value
                        }
@@ -171,7 +168,6 @@ func setupKeepClient(config apiConfig, keepServicesJSON string, blobSignatureTTL
                ApiInsecure: config.APIHostInsecure,
                Client: &http.Client{Transport: &http.Transport{
                        TLSClientConfig: &tls.Config{InsecureSkipVerify: config.APIHostInsecure}}},
-               External: config.ExternalClient,
        }
 
        // If keepServicesJSON is provided, use it instead of service discovery