v0.0.18 | VPC 생성 필드명 cidr → cidrv4 (NHN API 명세 및 프론트엔드 일치)
All checks were successful
Build And Test / build-and-push (push) Successful in 16s
All checks were successful
Build And Test / build-and-push (push) Successful in 16s
This commit is contained in:
@ -99,7 +99,7 @@ class VpcSerializer(serializers.Serializer):
|
|||||||
help_text="VPC 이름",
|
help_text="VPC 이름",
|
||||||
max_length=255,
|
max_length=255,
|
||||||
)
|
)
|
||||||
cidr = serializers.CharField(
|
cidrv4 = serializers.CharField(
|
||||||
help_text="CIDR 블록 (예: 10.0.0.0/16)",
|
help_text="CIDR 블록 (예: 10.0.0.0/16)",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@ -434,7 +434,7 @@ class VpcCreateView(NHNBaseView):
|
|||||||
region=headers["region"],
|
region=headers["region"],
|
||||||
token=headers["token"],
|
token=headers["token"],
|
||||||
name=serializer.validated_data["name"],
|
name=serializer.validated_data["name"],
|
||||||
cidr=serializer.validated_data["cidr"],
|
cidr=serializer.validated_data["cidrv4"],
|
||||||
)
|
)
|
||||||
return Response(
|
return Response(
|
||||||
{"task_id": str(task.id), "status": task.status, "message": "VPC 생성 작업이 시작되었습니다."},
|
{"task_id": str(task.id), "status": task.status, "message": "VPC 생성 작업이 시작되었습니다."},
|
||||||
|
|||||||
Reference in New Issue
Block a user