Skip to content

Commit 221529d

Browse files
Merge branch 'master' of https://github.com/codefresh-io/go-sdk into installation-input-type-backwards-compatibility
2 parents dedc188 + f084dd2 commit 221529d

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

pkg/codefresh/common.go

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,17 @@ package codefresh
33
import (
44
"fmt"
55
"strings"
6-
76
)
87

98
type graphqlError struct {
10-
Message string
11-
Locations [] struct {
12-
Line int
13-
Column int
14-
}
15-
Extensions struct {
16-
Code string
17-
Exception struct {
18-
Stacktrace []string
19-
}
20-
}
9+
Message string
10+
Extensions string
2111
}
2212

2313
type graphqlErrorResponse struct {
24-
errors []graphqlError
14+
errors []graphqlError
2515
concatenatedErrors string
2616
}
27-
2817

2918
func (e graphqlErrorResponse) Error() string {
3019

@@ -37,4 +26,4 @@ func (e graphqlErrorResponse) Error() string {
3726
}
3827
e.concatenatedErrors = sb.String()
3928
return e.concatenatedErrors
40-
}
29+
}

0 commit comments

Comments
 (0)