Copy the pair state into the temporary host

This commit is contained in:
Cameron Gutman 2016-01-21 11:42:19 -05:00
parent f8e2ca8500
commit 9aa9b0fc5a

View File

@ -23,6 +23,7 @@
self.mac = host.mac; self.mac = host.mac;
self.name = host.name; self.name = host.name;
self.uuid = host.uuid; self.uuid = host.uuid;
self.pairState = [host.pairState intValue];
NSMutableSet *appList = [[NSMutableSet alloc] init]; NSMutableSet *appList = [[NSMutableSet alloc] init];
@ -43,6 +44,7 @@
parentHost.mac = self.mac; parentHost.mac = self.mac;
parentHost.name = self.name; parentHost.name = self.name;
parentHost.uuid = self.uuid; parentHost.uuid = self.uuid;
parentHost.pairState = [NSNumber numberWithInt:self.pairState];
NSMutableSet *applist = [[NSMutableSet alloc] init]; NSMutableSet *applist = [[NSMutableSet alloc] init];
for (TemporaryApp* app in self.appList) { for (TemporaryApp* app in self.appList) {