Skip to content

Commit

Permalink
Fix drafter-mounter for removed hooks
Browse files Browse the repository at this point in the history
Signed-off-by: Jimmy Moore <[email protected]>
  • Loading branch information
jimmyaxod committed Jan 20, 2025
1 parent 17ce19b commit 56e8056
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions cmd/drafter-mounter/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,26 +259,6 @@ func main() {
writers,

mounter.MigrateFromHooks{
OnRemoteDeviceReceived: func(remoteDeviceID uint32, name string) {
log.Println("Received remote device", remoteDeviceID, "with name", name)
},
OnRemoteDeviceExposed: func(remoteDeviceID uint32, path string) {
log.Println("Exposed remote device", remoteDeviceID, "at", path)
},
OnRemoteDeviceAuthorityReceived: func(remoteDeviceID uint32) {
log.Println("Received authority for remote device", remoteDeviceID)
},
OnRemoteDeviceMigrationCompleted: func(remoteDeviceID uint32) {
log.Println("Completed migration of remote device", remoteDeviceID)
},

OnRemoteAllDevicesReceived: func() {
log.Println("Received all remote devices")
},
OnRemoteAllMigrationsCompleted: func() {
log.Println("Completed all remote device migrations")
},

OnLocalDeviceRequested: func(localDeviceID uint32, name string) {
log.Println("Requested local device", localDeviceID, "with name", name)
},
Expand Down

0 comments on commit 56e8056

Please sign in to comment.