mirror of
https://github.com/GoogleCloudPlatform/vertex-ai-samples.git
synced 2026-09-26 14:42:04 +00:00
fix: add back missing not (#1687)
This commit is contained in:
@@ -195,7 +195,7 @@ class BucketCleanupManager(ResourceCleanupManager):
|
||||
def is_deletable(self, resource: Any) -> bool:
|
||||
time_difference = self.get_seconds_since_modification(resource)
|
||||
|
||||
if self.resource_name(resource).startswith('your-bucket-name'):
|
||||
if not self.resource_name(resource).startswith('your-bucket-name'):
|
||||
print(f"Skipping '{resource}' not a Vertex AI notebook bucket")
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user