untested addition of the condition and scale up and down function
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
This commit is contained in:
@@ -16,7 +16,7 @@ Including another URLconf
|
||||
"""
|
||||
from django.urls import path
|
||||
|
||||
from .views import coucou,display,hello,import_namespace_view,retrieve_and_apply_view
|
||||
from .views import coucou,display,hello,import_namespace_view,retrieve_and_apply_view,scale_up_gui,scale_down_gui
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
@@ -26,5 +26,6 @@ urlpatterns = [
|
||||
path('display', display, name='display'),
|
||||
path('import_namespace', import_namespace_view, name='import_namespace'),
|
||||
path('retrieve_and_apply_view', retrieve_and_apply_view, name='retrieve_and_apply_view'),
|
||||
|
||||
path('scale_up/<str:namespace_name>/<str:deploy_name>', scale_up_gui),
|
||||
path('scale_down/<str:namespace_name>/<str:deploy_name>', scale_down_gui),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user