Skip to content

Commit

Permalink
wip: remove old id entries
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiejol committed Nov 7, 2023
1 parent d110dc6 commit 40490f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Ravada/VM.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1449,7 +1449,7 @@ sub _around_ping($orig, $self, $option=undef, $cache=1) {
}

sub _insert_network($self, $net) {
confess if $net->{id};
delete $net->{id};
$net->{id_owner} = Ravada::Utils::user_daemon->id
if !exists $net->{id_owner};

Expand Down
1 change: 1 addition & 0 deletions t/30_request.t
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ sub test_force() {
my $req = Ravada::Request->refresh_vms(uid => user_admin->id);
ok($req);
wait_request( debug => 0);
is($req->error, '') or exit;

my $req3 = Ravada::Request->refresh_vms(uid => user_admin->id);
ok($req3);
Expand Down

0 comments on commit 40490f4

Please sign in to comment.