Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c49ef96 commit 368caafCopy full SHA for 368caaf
sdk/workflow_run_result.go
@@ -52,9 +52,6 @@ func (a *WorkflowRunResultArtifact) IsValid() error {
52
if a.Name == "" {
53
return WrapError(ErrInvalidData, "missing artifact name")
54
}
55
- if a.Size == 0 {
56
- return WrapError(ErrInvalidData, "missing artifact size")
57
- }
58
if a.MD5 == "" {
59
return WrapError(ErrInvalidData, "missing md5Sum")
60
@@ -79,9 +76,6 @@ func (a *WorkflowRunResultCoverage) IsValid() error {
79
76
80
77
return WrapError(ErrInvalidData, "missing file name")
81
78
82
83
- return WrapError(ErrInvalidData, "missing file size")
84
85
86
87
0 commit comments