mirror of
https://github.com/ansible/awx.git
synced 2026-04-14 14:39:26 -02:30
Merge pull request #240 from chrismeyersfsu/fix-6198
remove scan job choice from launch endpoint
This commit is contained in:
@@ -2734,6 +2734,7 @@ class JobTemplateDetail(RetrieveUpdateDestroyAPIView):
|
|||||||
class JobTemplateLaunch(RetrieveAPIView, GenericAPIView):
|
class JobTemplateLaunch(RetrieveAPIView, GenericAPIView):
|
||||||
|
|
||||||
model = JobTemplate
|
model = JobTemplate
|
||||||
|
metadata_class = JobTypeMetadata
|
||||||
serializer_class = JobLaunchSerializer
|
serializer_class = JobLaunchSerializer
|
||||||
is_job_start = True
|
is_job_start = True
|
||||||
always_allow_superuser = False
|
always_allow_superuser = False
|
||||||
|
|||||||
Reference in New Issue
Block a user