Skip to content

Commit

Permalink
remove old checks
Browse files Browse the repository at this point in the history
  • Loading branch information
bassel-zeidan committed Oct 4, 2017
1 parent 9095400 commit 917cfd3
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions r/sparkr/R/osconfig.R
Original file line number Diff line number Diff line change
Expand Up @@ -137,19 +137,6 @@ CloudObjectStorage <- setRefClass("CloudObjectStorage",
# validate input
validateInput(credentials, cosType, authMethod)

# set up hadoop config
if (is.null(credentials["endpoint"][[1]])) {
stop("Attribute endpoint in credentials is missing!")
}

if (is.null(credentials["accessKey"][[1]])) {
stop("Attribute accessKey in credentials is missing!")
}

if (is.null(credentials["secretKey"][[1]])) {
stop("Attribute secretKey in credentials is missing!")
}

# bind config name
.self$configName = configurationName

Expand Down

0 comments on commit 917cfd3

Please sign in to comment.