diff --git a/app/api/views/alias_options.py b/app/api/views/alias_options.py index eb0c938f..70860780 100644 --- a/app/api/views/alias_options.py +++ b/app/api/views/alias_options.py @@ -27,7 +27,7 @@ def options(): existing: array of existing aliases """ - LOG.warning("/v2/alias/options should be used instead") + LOG.warning("/alias/options is obsolete") user = g.user hostname = request.args.get("hostname") @@ -107,6 +107,8 @@ def options_v2(): """ + LOG.warning("/v2/alias/options is obsolete") + user = g.user hostname = request.args.get("hostname") @@ -186,6 +188,7 @@ def options_v3(): """ + LOG.warning("/v3/alias/options is obsolete") user = g.user hostname = request.args.get("hostname") diff --git a/app/api/views/new_custom_alias.py b/app/api/views/new_custom_alias.py index 81522ebe..5d6a6596 100644 --- a/app/api/views/new_custom_alias.py +++ b/app/api/views/new_custom_alias.py @@ -29,6 +29,7 @@ def new_custom_alias(): 409 if the alias already exists """ + LOG.warning("/alias/custom/new is obsolete") user: User = g.user if not user.can_create_new_alias(): LOG.d("user %s cannot create any custom alias", user)