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 2146e4e commit 1c61d69Copy full SHA for 1c61d69
pkg/handler/knowledgebasefiles.go
@@ -353,6 +353,8 @@ func (ph *PublicHandler) DeleteCatalogFile(
353
// TODO: need to use clean worker in the future
354
go utils.GoRecover(
355
func() {
356
+ // to prevent parent context from being cancelled, create a new context
357
+ ctx := context.TODO()
358
// delete the file from minio
359
objectPaths := []string{}
360
// kb file in minio
0 commit comments