mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-23 11:16:39 +00:00
Change "Drive Contains Image" label.
Use "Drive Mountpoint Contains Image" instead as the image may not be on this drive but on a drive mounted in one of the mountpoins of this drive. We still don't want to allow flashing this drive in that situation. Changelog-entry: Changed “Drive Contains Image” to “Drive Mountpoint Contains Image” Change-type: patch
This commit is contained in:
parent
7445004abf
commit
f2ca997195
@ -97,7 +97,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
containsImage () {
|
containsImage () {
|
||||||
return 'Drive Contains Image'
|
return 'Drive Mountpoint Contains Image'
|
||||||
},
|
},
|
||||||
|
|
||||||
// The drive is large and therefore likely not a medium you want to write to.
|
// The drive is large and therefore likely not a medium you want to write to.
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 8baa9e9a4063edc0b597baf16e266e28ed460b94
|
Subproject commit 6077afeee039b2ff9eab5e217ea35c79428881bc
|
@ -1322,7 +1322,7 @@ describe('Shared: DriveConstraints', function () {
|
|||||||
it('should return contains image error', function () {
|
it('should return contains image error', function () {
|
||||||
m.chai.expect(constraints.getListDriveImageCompatibilityStatuses([ drives[0] ], image)).to.deep.equal([
|
m.chai.expect(constraints.getListDriveImageCompatibilityStatuses([ drives[0] ], image)).to.deep.equal([
|
||||||
{
|
{
|
||||||
message: 'Drive Contains Image',
|
message: 'Drive Mountpoint Contains Image',
|
||||||
type: 2
|
type: 2
|
||||||
}
|
}
|
||||||
])
|
])
|
||||||
@ -1378,7 +1378,7 @@ describe('Shared: DriveConstraints', function () {
|
|||||||
it('should return all statuses', function () {
|
it('should return all statuses', function () {
|
||||||
m.chai.expect(constraints.getListDriveImageCompatibilityStatuses(drives, image)).to.deep.equal([
|
m.chai.expect(constraints.getListDriveImageCompatibilityStatuses(drives, image)).to.deep.equal([
|
||||||
{
|
{
|
||||||
message: 'Drive Contains Image',
|
message: 'Drive Mountpoint Contains Image',
|
||||||
type: 2
|
type: 2
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user