Skip to content

Commit

Permalink
feat:use redis/redis-stack-server:latest as redis container
Browse files Browse the repository at this point in the history
  • Loading branch information
geebytes committed May 7, 2024
1 parent 90cd22e commit 9e3798b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/biz/gateway/watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"fmt"

"github.com/begonia-org/begonia/internal/pkg/config"
"github.com/begonia-org/begonia/internal/pkg/logger"
"go.etcd.io/etcd/api/v3/mvccpb"

"encoding/json"
Expand Down Expand Up @@ -35,6 +36,7 @@ func (g *GatewayWatcher) Update(ctx context.Context, key string, value string) e
}
pd, err := getDescriptorSet(g.config, key, endpoint.DescriptorSet)
if err != nil {
logger.Log.Errorf("get descriptor set error: %w", err)
return errors.New(err, int32(common.Code_INTERNAL_ERROR), codes.Internal, "get_descriptor_set")
}
err = deleteAll(ctx, pd)
Expand Down

0 comments on commit 9e3798b

Please sign in to comment.