Pārlūkot izejas kodu

always emit errors slice

Mohammed Nafees 3 gadi atpakaļ
vecāks
revīzija
a519513337
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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"`
 }