Skip to content

Commit 81b9e7f

Browse files
committed
Remove public
1 parent 5f73d53 commit 81b9e7f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/ibmos2spark/osconfig.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def url(self, container_name, object_name):
174174

175175
class CloudObjectStorage(object):
176176

177-
def __init__(self, sparkcontext, bucket_name, credentials, public=False, driver='com.ibm.stocator.fs.ObjectStoreFileSystem'):
177+
def __init__(self, sparkcontext, bucket_name, credentials, driver='com.ibm.stocator.fs.ObjectStoreFileSystem'):
178178

179179
'''
180180
sparkcontext: a SparkContext object.
@@ -212,7 +212,6 @@ def __init__(self, sparkcontext, bucket_name, credentials, public=False, driver=
212212
hconf.set(prefix + ".endpoint", credentials['endpoint'])
213213
hconf.set(prefix + ".access.key", credentials['access_key'])
214214
hconf.set(prefix + ".secret.key", credentials['secret_key'])
215-
hconf.setBoolean(prefix + ".public", public)
216215

217216
def url(self, object_name):
218217
return "s3d://{}.service/{}".format(self.bucket_name, object_name)

0 commit comments

Comments
 (0)