mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-23 03:06:38 +00:00
Merge pull request #102 from resin-io/fix/use-logger-service
Make use of LoggerService in reselection routines
This commit is contained in:
commit
4ab2dc1948
@ -113,7 +113,7 @@ app.controller('AppController', function($q, DriveScannerService, SelectionState
|
|||||||
// "returns" to the first step.
|
// "returns" to the first step.
|
||||||
self.selection.clear();
|
self.selection.clear();
|
||||||
|
|
||||||
console.debug('Reselecting image');
|
LoggerService.debug('Reselecting image');
|
||||||
};
|
};
|
||||||
|
|
||||||
this.reselectDrive = function() {
|
this.reselectDrive = function() {
|
||||||
@ -122,7 +122,7 @@ app.controller('AppController', function($q, DriveScannerService, SelectionState
|
|||||||
}
|
}
|
||||||
|
|
||||||
self.selection.removeDrive();
|
self.selection.removeDrive();
|
||||||
console.debug('Reselecting drive');
|
LoggerService.debug('Reselecting drive');
|
||||||
};
|
};
|
||||||
|
|
||||||
this.burn = function(image, drive) {
|
this.burn = function(image, drive) {
|
||||||
|
@ -112,7 +112,7 @@ app.controller('AppController', function($q, DriveScannerService, SelectionState
|
|||||||
// "returns" to the first step.
|
// "returns" to the first step.
|
||||||
self.selection.clear();
|
self.selection.clear();
|
||||||
|
|
||||||
console.debug('Reselecting image');
|
LoggerService.debug('Reselecting image');
|
||||||
};
|
};
|
||||||
|
|
||||||
this.reselectDrive = function() {
|
this.reselectDrive = function() {
|
||||||
@ -121,7 +121,7 @@ app.controller('AppController', function($q, DriveScannerService, SelectionState
|
|||||||
}
|
}
|
||||||
|
|
||||||
self.selection.removeDrive();
|
self.selection.removeDrive();
|
||||||
console.debug('Reselecting drive');
|
LoggerService.debug('Reselecting drive');
|
||||||
};
|
};
|
||||||
|
|
||||||
this.burn = function(image, drive) {
|
this.burn = function(image, drive) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user