Skip to content

Commit

Permalink
Merge branch 'add-archive-ir' into put-policy
Browse files Browse the repository at this point in the history
# Conflicts:
#	iqshell/storage/object/upload/operations/batch_data.go
  • Loading branch information
YangSen-qn committed Dec 29, 2023
2 parents cc60f01 + 946bce8 commit b071d11
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions iqshell/storage/object/upload/operations/batch_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,6 @@ func (up *UploadConfig) Check() *data.CodeError {
}
}

if up.FileType < 0 || up.FileType > 3 {
return data.NewEmptyError().AppendDesc("wrong Filetype, It should be one of 0, 1, 2, 3")
}

if up.CallbackURL != "" {
callbackUrls := strings.Replace(up.CallbackURL, ",", ";", -1)
up.CallbackURL = callbackUrls
Expand Down

0 comments on commit b071d11

Please sign in to comment.