Spelling fixes

This commit is contained in:
Ville Skyttä 2019-04-25 16:02:49 +03:00
parent f95adf3ea3
commit ee73bb181f
5 changed files with 7 additions and 7 deletions

View File

@ -24,7 +24,7 @@ There are several ways to run PowerDNS-Admin. Following is a simple way to start
Step 1: Changing configuration Step 1: Changing configuration
The configuration file for developement environment is located at `configs/development.py`, you can override some configs by editing `.env` file. The configuration file for development environment is located at `configs/development.py`, you can override some configs by editing the `.env` file.
Step 2: Build docker images Step 2: Build docker images
@ -86,7 +86,7 @@ someuser@somehost:~$echo -n 'admin:admin'|base64
YWRtaW46YWRtaW4= YWRtaW46YWRtaW4=
``` ```
we use generated output in basic authentication, we auhtenticate as user, we use generated output in basic authentication, we authenticate as user,
with basic authentication, we can create/delete/get zone and create/delete/get/update apikeys with basic authentication, we can create/delete/get zone and create/delete/get/update apikeys
creating domain: creating domain:

View File

@ -58,7 +58,7 @@ paths:
type: string type: string
responses: responses:
'200': '200':
description: An server description: A server
schema: schema:
$ref: '#/definitions/Server' $ref: '#/definitions/Server'

View File

@ -42,7 +42,7 @@ if [ ! -d "${DB_MIGRATION_DIR}" ]; then
else else
echo "---> Running DB Migration" echo "---> Running DB Migration"
set +e set +e
flask db migrate -m "Upgrade BD Schema" --directory ${DB_MIGRATION_DIR} flask db migrate -m "Upgrade DB Schema" --directory ${DB_MIGRATION_DIR}
flask db upgrade --directory ${DB_MIGRATION_DIR} flask db upgrade --directory ${DB_MIGRATION_DIR}
set -e set -e
fi fi

View File

@ -1,4 +1,4 @@
"""Upgrade BD Schema """Upgrade DB Schema
Revision ID: 654298797277 Revision ID: 654298797277
Revises: 31a4ed468b18 Revises: 31a4ed468b18

View File

@ -91,7 +91,7 @@ def initial_data():
msg = admin_user.create_local_user() msg = admin_user.create_local_user()
if not msg: if not msg:
raise Exception("Error occured creating user {0}".format(msg)) raise Exception("Error occurred creating user {0}".format(msg))
ordinary_user = User( ordinary_user = User(
username=test_user, username=test_user,
@ -101,7 +101,7 @@ def initial_data():
msg = ordinary_user.create_local_user() msg = ordinary_user.create_local_user()
if not msg: if not msg:
raise Exception("Error occured creating user {0}".format(msg)) raise Exception("Error occurred creating user {0}".format(msg))
except Exception as e: except Exception as e:
logging.error("Unexpected ERROR: {0}".format(e)) logging.error("Unexpected ERROR: {0}".format(e))