Skip to content

Commit 665a775

Browse files
authored
fix typo in the documentation (#108)
2 parents f1503e6 + 9662d0c commit 665a775

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/source/user_guide/apachespark/dataflow.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ You could submit a notebook using ADS SDK APIs. Here is an example to submit a n
153153
df = (
154154
DataFlow()
155155
.with_compartment_id(
156-
"ocid1.compartment.oc1..aaaaaaaapvb3hearqum6wjvlcpzm5ptfxqa7xfftpth4h72xx46ygavkqteq"
156+
"ocid1.compartment.oc1.<your compartment id>"
157157
)
158158
.with_driver_shape("VM.Standard.E4.Flex")
159159
.with_driver_shape_config(ocpus=2, memory_in_gbs=32)

docs/source/user_guide/secrets/mysql.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The ``MySQLDBSecretKeeper.save`` API serializes and stores the credentials to th
4040
* ``freeform_tags`` (dict, optional): Freeform tags to be used for saving the secret in the OCI Console.
4141
* ``name`` (str): Name of the secret when saved in the vault.
4242

43-
The secret has the following informatio:
43+
The secret has the following information:
4444

4545
* ``database``
4646
* ``host``
@@ -66,7 +66,7 @@ Save Credentials
6666
connection_parameters={
6767
"user_name":"<your user name>",
6868
"password":"<your password>",
69-
"service_name":"service_name",
69+
"database":"database",
7070
"host":"<db host>",
7171
"port":"<db port>",
7272
}
@@ -123,7 +123,7 @@ The ``.load_secret()`` method has the following parameters:
123123

124124
- ``auth``: Provide overriding ``auth`` information if the ``auth`` information is different from the ``ads.set_auth`` setting.
125125
- ``export_env``: The default is ``False``. If set to ``True``, the credentials are exported as environment variabled when used with the ``with`` operator.
126-
- ``export_prefix``: The default name for environment variable is user_name, password, service_name. and wallet_location. You can add a prefix to avoid name collision.
126+
- ``export_prefix``: The default name for environment variable is user_name, password, database. and wallet_location. You can add a prefix to avoid name collision.
127127
- ``format``: (Optional) If ``source`` is a file, then this value must be ``json`` or ``yaml`` depending on the file format.
128128
- ``source``: Either the file that was exported from ``export_vault_details``, or the OCID of the secret.
129129

0 commit comments

Comments
 (0)