diff --git a/CloudKitSync/Sources/CloudKitSync/CloudKitZoneResult.swift b/CloudKitSync/Sources/CloudKitSync/CloudKitZoneResult.swift index 30efa7b5a..56542f310 100644 --- a/CloudKitSync/Sources/CloudKitSync/CloudKitZoneResult.swift +++ b/CloudKitSync/Sources/CloudKitSync/CloudKitZoneResult.swift @@ -9,7 +9,7 @@ import Foundation import CloudKit -public enum CloudKitZoneResult { +enum CloudKitZoneResult { case success case retry(afterSeconds: Double) case limitExceeded @@ -20,7 +20,7 @@ public enum CloudKitZoneResult { case userDeletedZone case failure(error: Error) - public static func resolve(_ error: Error?) -> CloudKitZoneResult { + static func resolve(_ error: Error?) -> CloudKitZoneResult { guard error != nil else { return .success }