зеркало из https://github.com/Azure/rAzureBatch.git
Linux users cannot install packages at job level (#42)
* Print string to sign statement * Changed locality * Removed print statement * Updated version of rAzureBatch to 0.5.3
This commit is contained in:
Родитель
0922b2cadc
Коммит
fa9a7d16a7
|
@ -1,7 +1,7 @@
|
|||
Package: rAzureBatch
|
||||
Type: Package
|
||||
Title: rAzureBatch
|
||||
Version: 0.5.2
|
||||
Version: 0.5.3
|
||||
Author: Brian Hoang
|
||||
Maintainer: Brian Hoang <brhoan@microsoft.com>
|
||||
Description: The project is for data experts who use R at scale. The project
|
||||
|
|
|
@ -53,6 +53,9 @@ signAzureRequest <- function(request, resource, key, prefix) {
|
|||
headers <- request$headers
|
||||
canonicalizedHeaders <- ""
|
||||
|
||||
systemLocale <- Sys.getlocale(category = "LC_COLLATE")
|
||||
Sys.setlocale("LC_COLLATE", "C")
|
||||
|
||||
for (name in sort(names(headers))) {
|
||||
if (grepl(prefix, name)) {
|
||||
canonicalizedHeaders <-
|
||||
|
@ -82,6 +85,7 @@ signAzureRequest <- function(request, resource, key, prefix) {
|
|||
":",
|
||||
request$signString(stringToSign, key))
|
||||
|
||||
Sys.setlocale("LC_COLLATE", systemLocale)
|
||||
return(authorizationString)
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче