mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
feat: do not redeploy global service if spec hasn't changed
This commit is contained in:
@@ -39,6 +39,7 @@ func (s *ServiceSpec) Validate() error {
|
||||
}
|
||||
|
||||
func (s *ServiceSpec) Equals(spec ServiceSpec) bool {
|
||||
// TODO: ignore order of ports.
|
||||
return reflect.DeepEqual(*s, spec)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user