Skip to content

Commit

Permalink
Merge pull request koderover#1386 from AllenShen/bugfix/rollback_prod…
Browse files Browse the repository at this point in the history
…uct_updatable_service

fix bug of adding service
  • Loading branch information
flyer103 authored Apr 21, 2022
2 parents a396380 + 5d1c1f4 commit a9816f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/microservice/aslan/core/environment/service/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func (pr *ProductRevision) GroupsUpdated() bool {
return false
}
for _, serviceRev := range pr.ServiceRevisions {
if serviceRev.Updatable && !serviceRev.New && !serviceRev.Deleted {
if serviceRev.Updatable {
return true
}
}
Expand Down

0 comments on commit a9816f1

Please sign in to comment.