Skip to content

Commit f431a9d

Browse files
authored
Merge pull request #3 from oracle/sachin-pikle-patch-1
Fixed typos in func.py and readme (reported by Liat Sabag)
2 parents 250e8c7 + a4fb60e commit f431a9d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

oci-load-file-into-adw-python/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ e.g.
146146
fn config function myapp oci-adb-ords-runsql-python ords-base-url "https://xxxxxx-db123456.adb.us-region.oraclecloudapps.com/ords/"
147147
fn config function myapp oci-adb-ords-runsql-python db-schema "admin"
148148
fn config function myapp oci-adb-ords-runsql-python db-user "admin"
149-
fn config function myapp oci-adb-ords-runsql-python dbpwd-cypher "xxxxxxxxx"
149+
fn config function myapp oci-adb-ords-runsql-python dbpwd-cipher "xxxxxxxxx"
150150
fn config function myapp oci-adb-ords-runsql-python input-bucket "input-bucket"
151151
fn config function myapp oci-adb-ords-runsql-python processed-bucket "processed-bucket"
152152
```

oci-load-file-into-adw-python/func.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ def handler(ctx, data: io.BytesIO=None):
8282
object_name = bucket_name = namespace = ordsbaseurl = schema = dbuser = dbpwd = ""
8383
try:
8484
cfg = ctx.Config()
85-
input_bucket = cfg["input_bucket"]
86-
processed_bucket = cfg["processed_bucket"]
85+
input_bucket = cfg["input-bucket"]
86+
processed_bucket = cfg["processed-bucket"]
8787
ordsbaseurl = cfg["ords-base-url"]
8888
schema = cfg["db-schema"]
8989
dbuser = cfg["db-user"]

0 commit comments

Comments
 (0)