Skip to content


Browse files Browse the repository at this point in the history
fix(cleanup): panic: runtime error: invalid memory address or nil poi…
…nter dereference
  • Loading branch information
alexey-igrychev committed Oct 20, 2021
1 parent f97b338 commit 9024c5c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/cleaning/stage_manager/manager.go
Expand Up @@ -148,6 +148,10 @@ func GetCustomTagsMetadata(ctx context.Context, storageManager manager.StorageMa
var mutex sync.Mutex
stageIDCustomTagList = make(map[string][]string)
err = storageManager.ForEachGetStageCustomTagMetadata(ctx, stageCustomTagMetadataIDs, func(ctx context.Context, metadataID string, metadata *storage.CustomTagMetadata, err error) error {
if err != nil {
return err

defer mutex.Unlock()

Expand Down

0 comments on commit 9024c5c

Please sign in to comment.