error name and documentation consistency.

Signed-off-by: Mert Can Bilgiç <mert.bilgic@trendyol.com>
This commit is contained in:
erdoganoksuz
2021-03-02 11:53:28 +03:00
committed by Mert Can Bilgiç
parent aa095e469f
commit 7bf88b4f31
2 changed files with 3 additions and 3 deletions
@@ -315,7 +315,7 @@ the logs.
Follow the
[official OpenStack Api documentation](https://docs.openstack.org/api-ref/identity/v3/)
for the latest instructions on the following steps involving Open Stack Storage.
for the latest instructions on the following steps involving OpenStack Storage.
**1. Set `techdocs.publisher.type` config in your `app-config.yaml`**
@@ -349,7 +349,7 @@ techdocs:
**3. Authentication using app-config.yaml**
Set the configs in your `app-config.yaml` to the your container name.
Set the configs in your `app-config.yaml` to point to your container name.
https://docs.openstack.org/api-ref/identity/v3/?expanded=password-authentication-with-unscoped-authorization-detail#password-authentication-with-unscoped-authorization
for more details.
@@ -54,7 +54,7 @@ class PkgCloudStorageClient {
callback: (err: string, container: string) => any,
) {
if (containerName !== 'mock') {
callback("Container doesn't exist", containerName);
callback('Container does not exist', containerName);
throw new Error('Container does not exist');
} else {
callback('Container does not exist', 'success');