Skip to content

Commit

Permalink
Merge pull request #1476 from tornado-ssy/dev-66nn
Browse files Browse the repository at this point in the history
  • Loading branch information
chengyouling authored Jun 6, 2024
2 parents 59149cd + c12f04e commit bd2ee25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datasource/etcd/ms.go
Original file line number Diff line number Diff line change
Expand Up @@ -1889,7 +1889,7 @@ func (ds *MetadataManager) UnregisterEnvironment(ctx context.Context, request *e
Name: environment.Name,
}
opts := []etcdadpt.OpOptions{
etcdadpt.OpDel(etcdadpt.WithStrKey(path.GenerateEnvironmentIndexKey(envKey))),
etcdadpt.OpDel(etcdadpt.WithStrKey(util.StringJoin([]string{path.GenerateEnvironmentIndexKey(envKey), environmentId}, "/"))),
etcdadpt.OpDel(etcdadpt.WithStrKey(environmentIdKey)),
}
syncOpts, err := esync.GenDeleteOpts(ctx, datasource.ResourceEnvironment, environmentId,
Expand Down

0 comments on commit bd2ee25

Please sign in to comment.