Skip to content

Commit

Permalink
Add missing self
Browse files Browse the repository at this point in the history
  • Loading branch information
bassel-zeidan committed Sep 21, 2017
1 parent 04c7c71 commit 8bb0fdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ibmos2spark/osconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def __init__(self, sparkcontext, credentials, cos_id='', bucket_name=''):
hconf.set(prefix + ".access.key", credentials['access_key'])
hconf.set(prefix + ".secret.key", credentials['secret_key'])

def get_os_id():
def get_os_id(self):
return self.cos_id

def url(self, object_name, bucket_name=''):
Expand Down

0 comments on commit 8bb0fdd

Please sign in to comment.