@@ -108,7 +108,7 @@ var _DigitalOceanContainerRegistry = class _DigitalOceanContainerRegistry extend
108
108
if ( username ) {
109
109
this . state . username = username ;
110
110
}
111
- const serverUrl = this . state . server_url || "(will be available shortly)" ;
111
+ const serverUrl = this . state . server_url || `registry.digitalocean.com/ ${ this . state . name } ` ;
112
112
let subscriptionInfo = "" ;
113
113
if ( response . subscription ) {
114
114
subscriptionInfo = ` | Tier: ${ response . subscription . tier . name } | Price: $${ response . subscription . tier . monthly_price_in_cents / 100 } /month` ;
@@ -196,7 +196,7 @@ var _DigitalOceanContainerRegistry = class _DigitalOceanContainerRegistry extend
196
196
if ( response . registry ) {
197
197
this . updateStateFromRegistry ( response . registry ) ;
198
198
const registry = response . registry ;
199
- const serverUrl = registry . server_url || `registry.digitalocean.com/${ registry . name } ` ;
199
+ const serverUrl = `registry.digitalocean.com/${ registry . name } ` ;
200
200
const subscriptionTier = registry . subscription_tier || "basic" ;
201
201
const storageQuota = registry . storage_quota_bytes ? ` | Storage Quota: ${ registry . storage_quota_bytes } bytes` : "" ;
202
202
const storageUsage = registry . storage_usage_bytes !== void 0 ? ` | Storage Usage: ${ registry . storage_usage_bytes } bytes` : "" ;
@@ -260,7 +260,7 @@ Server: ${this.state.server_url}`);
260
260
}
261
261
}
262
262
runGarbageCollection ( args ) {
263
- const gcType = args . type || "unreferenced_blobs_only " ;
263
+ const gcType = args . type || "untagged_manifests_only " ;
264
264
try {
265
265
if ( ! this . state . name ) {
266
266
throw new Error ( "Registry name not available. Ensure registry exists first." ) ;
@@ -344,7 +344,7 @@ Server: ${this.state.server_url}`);
344
344
if ( username ) {
345
345
this . state . username = username ;
346
346
}
347
- const serverUrl = response . registry . server_url || "(will be available shortly)" ;
347
+ const serverUrl = `registry.digitalocean.com/ ${ response . registry . name } ` ;
348
348
let subscriptionInfo = "" ;
349
349
if ( response . subscription ) {
350
350
subscriptionInfo = ` | Tier: ${ response . subscription . tier . name } | Price: $${ response . subscription . tier . monthly_price_in_cents / 100 } /month` ;
@@ -436,7 +436,7 @@ Server: ${this.state.server_url}`);
436
436
count : 0
437
437
} ;
438
438
}
439
- const serverUrl = existingRegistry . server_url || `registry.digitalocean.com/${ existingRegistry . name } ` ;
439
+ const serverUrl = `registry.digitalocean.com/${ existingRegistry . name } ` ;
440
440
const subscriptionTier = existingRegistry . subscription_tier || "basic" ;
441
441
let storageInfo = "" ;
442
442
if ( existingRegistry . storage_quota_bytes ) {
@@ -484,7 +484,7 @@ Server: ${this.state.server_url}`);
484
484
this . state . subscription_tier = registry . subscription_tier ;
485
485
this . state . storage_quota_bytes = registry . storage_quota_bytes ;
486
486
this . state . storage_usage_bytes = registry . storage_usage_bytes ;
487
- this . state . server_url = registry . server_url ;
487
+ this . state . server_url = ` registry.digitalocean.com/ ${ registry . name } ` ;
488
488
this . state . created_at = registry . created_at ;
489
489
}
490
490
} ;
0 commit comments