Skip to content

Commit

Permalink
fix(apigw_manager): ci failed (#203)
Browse files Browse the repository at this point in the history
  • Loading branch information
wklken authored Dec 18, 2024
1 parent ce78633 commit e16377d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion sdks/apigw-manager/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.7-slim-buster
FROM python:3.11.10-slim-bullseye

ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
Expand Down
8 changes: 4 additions & 4 deletions sdks/apigw-manager/demo/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
specific language governing permissions and limitations under the License.
"""

from django.conf.urls import url
from django.urls import re_path

from demo import views

urlpatterns = [
url(r"^test/jwt/?", views.jwt_info),
url(r"^test/app/?", views.jwt_app),
url(r"^test/user/?", views.jwt_user),
re_path(r"^test/jwt/?", views.jwt_info),
re_path(r"^test/app/?", views.jwt_app),
re_path(r"^test/user/?", views.jwt_user),
]
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,4 @@ class Migration(migrations.Migration):
name='context',
unique_together=set([('scope', 'key')]),
),
migrations.AlterIndexTogether(
name='context',
index_together=set([('scope', 'key')]),
),
]
1 change: 0 additions & 1 deletion sdks/apigw-manager/src/apigw_manager/apigw/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ class Context(models.Model):

class Meta:
unique_together = ("scope", "key")
index_together = ("scope", "key")
db_table = "apigw_manager_context"

0 comments on commit e16377d

Please sign in to comment.