ui rebuild
This commit is contained in:
@@ -157,13 +157,22 @@ export class RegistryManager {
|
||||
}
|
||||
|
||||
try {
|
||||
// Check if getManifest method exists (API may have changed)
|
||||
if (typeof this.registry.getManifest !== 'function') {
|
||||
// Method not available in current API version
|
||||
return null;
|
||||
}
|
||||
|
||||
const manifest = await this.registry.getManifest(repository, tag);
|
||||
if (manifest && manifest.digest) {
|
||||
return manifest.digest;
|
||||
}
|
||||
return null;
|
||||
} catch (error) {
|
||||
logger.warn(`Failed to get digest for ${repository}:${tag}: ${error.message}`);
|
||||
// Only log if it's not a "not a function" error
|
||||
if (!error.message.includes('not a function')) {
|
||||
logger.warn(`Failed to get digest for ${repository}:${tag}: ${error.message}`);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user