Skip to content

Commit 1c615c0

Browse files
fix tests
1 parent 109b912 commit 1c615c0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

enterprise/coderd/prebuilds/reconcile.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,11 @@ func (c *StoreReconciler) ReconcileAll(ctx context.Context) error {
272272
for key, presets := range presetsMap {
273273
for _, preset := range presets {
274274
if preset.UsingActiveVersion && !preset.Deleted {
275-
isPresetHardLimited[key] = snapshot.IsHardLimited(preset.ID)
275+
if snapshot.IsHardLimited(preset.ID) {
276+
isPresetHardLimited[key] = true
277+
} else {
278+
delete(isPresetHardLimited, key)
279+
}
276280
break
277281
}
278282
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy