Merge pull request #2582 from balena-io/2281-drive-mountpoint-contains-image

Change "Drive Contains Image" label.
This commit is contained in:
Lorenzo Alberto Maria Ambrosi 2019-01-08 11:53:47 +01:00 committed by GitHub
commit 7616e8dab7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -97,7 +97,7 @@ module.exports = {
},
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.

@ -1 +1 @@
Subproject commit 8baa9e9a4063edc0b597baf16e266e28ed460b94
Subproject commit 5961434ebe3e24df23110333abffcbe02a69be49

View File

@ -1322,7 +1322,7 @@ describe('Shared: DriveConstraints', function () {
it('should return contains image error', function () {
m.chai.expect(constraints.getListDriveImageCompatibilityStatuses([ drives[0] ], image)).to.deep.equal([
{
message: 'Drive Contains Image',
message: 'Drive Mountpoint Contains Image',
type: 2
}
])
@ -1378,7 +1378,7 @@ describe('Shared: DriveConstraints', function () {
it('should return all statuses', function () {
m.chai.expect(constraints.getListDriveImageCompatibilityStatuses(drives, image)).to.deep.equal([
{
message: 'Drive Contains Image',
message: 'Drive Mountpoint Contains Image',
type: 2
},
{