소스 검색

always emit errors slice

Mohammed Nafees 3 년 전
부모
커밋
023bd9306f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      api/types/environment.go

+ 1 - 1
api/types/environment.go

@@ -135,5 +135,5 @@ type ValidatePorterYAMLRequest struct {
 }
 
 type ValidatePorterYAMLResponse struct {
-	Errors []error `json:"errors,omitempty"`
+	Errors []error `json:"errors"`
 }