mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-23 15:32:24 +00:00
Log anonymous volumes
Signed-off-by: Christina Wang <christina@balena.io>
This commit is contained in:
parent
0a9c7282e8
commit
2896444988
@ -32,7 +32,7 @@ export async function getAll(): Promise<Volume[]> {
|
||||
volumesList.push(volume);
|
||||
} catch (err) {
|
||||
if (err instanceof InternalInconsistencyError) {
|
||||
log.debug(`Found unmanaged Volume: ${volumeInfo.Name}`);
|
||||
log.debug(`Found unmanaged or anonymous Volume: ${volumeInfo.Name}`);
|
||||
} else {
|
||||
throw err;
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ describe('compose/volume-manager', () => {
|
||||
]);
|
||||
// Check that debug message was logged saying we found a Volume not created by us
|
||||
expect(logDebug.lastCall.lastArg).to.equal(
|
||||
'Found unmanaged Volume: decoy',
|
||||
'Found unmanaged or anonymous Volume: decoy',
|
||||
);
|
||||
},
|
||||
{ volumes: volumeData },
|
||||
|
Loading…
Reference in New Issue
Block a user