feat: do not redeploy global service if spec hasn't changed

This commit is contained in:
Pavel Sviderski committed 2025-02-14 17:49:46 +10:00
1 parent 5e2b2ac836
commit a53fa2c1d8
6 files changed
+107 -34

No files matched your search

+1
View File
@@ -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)
}