Skip to content

Commit

Permalink
[fix] fix env info will not be synced [can nit load current resource] (
Browse files Browse the repository at this point in the history
  • Loading branch information
tornado-ssy committed Jun 21, 2024
1 parent bec7167 commit 0b5a7de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syncer/service/replicator/resource/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (e *environment) LoadCurrentResource(ctx context.Context) *Result {
EnvironmentId: e.envID,
})
if err != nil {
if errsvc.IsErrEqualCode(err, pb.ErrServiceNotExists) {
if errsvc.IsErrEqualCode(err, pb.ErrEnvironmentNotExists) {
return nil
}

Expand Down

0 comments on commit 0b5a7de

Please sign in to comment.