Skip to content

Commit 998f404

Browse files
Update README.md
1 parent 8c970f3 commit 998f404

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scala/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ var bucketName = "myBucket"
146146
var objectname = "mydata.csv"
147147

148148
var configurationName = "cos_config_name" // you can choose any string you want
149-
var cos = new CloudObjectStorage(sc=sc, credentials=credentials, configurationName=configurationName)
149+
var cos = new CloudObjectStorage(sc, credentials, configurationName=configurationName)
150150
var spark = SparkSession.
151151
builder().
152152
getOrCreate()
@@ -173,7 +173,7 @@ var bucketName = "myBucket"
173173
var objectname = "mydata.csv"
174174

175175
var configurationName = "cos_config_name" // you can choose any string you want
176-
var cos = new CloudObjectStorage(sc=sc, credentials=credentials,
176+
var cos = new CloudObjectStorage(sc, credentials,
177177
configurationName=configurationName,
178178
cosType="bluemix_cos")
179179
var spark = SparkSession.
@@ -202,7 +202,7 @@ var bucketName = "myBucket"
202202
var objectname = "mydata.csv"
203203

204204
var configurationName = "cos_config_name" // you can choose any string you want
205-
var cos = new CloudObjectStorage(sc=sc, credentials=credentials,
205+
var cos = new CloudObjectStorage(sc, credentials,
206206
configurationName=configurationName,
207207
cosType="bluemix_cos",
208208
authMethod="iam_token")

0 commit comments

Comments
 (0)