Skip to content

Commit 917cfd3

Browse files
committed
remove old checks
1 parent 9095400 commit 917cfd3

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

r/sparkr/R/osconfig.R

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -137,19 +137,6 @@ CloudObjectStorage <- setRefClass("CloudObjectStorage",
137137
# validate input
138138
validateInput(credentials, cosType, authMethod)
139139

140-
# set up hadoop config
141-
if (is.null(credentials["endpoint"][[1]])) {
142-
stop("Attribute endpoint in credentials is missing!")
143-
}
144-
145-
if (is.null(credentials["accessKey"][[1]])) {
146-
stop("Attribute accessKey in credentials is missing!")
147-
}
148-
149-
if (is.null(credentials["secretKey"][[1]])) {
150-
stop("Attribute secretKey in credentials is missing!")
151-
}
152-
153140
# bind config name
154141
.self$configName = configurationName
155142

0 commit comments

Comments
 (0)