Skip to content

Commit

Permalink
Merge pull request kubevirt#2332 from colonwq/update-virt-hander-remo…
Browse files Browse the repository at this point in the history
…ve-extra-err-check

Remove extra err value check
  • Loading branch information
Artyom Lukianov authored May 30, 2019
2 parents 6065bdb + 47350dd commit aeb76b8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cmd/virt-handler/virt-handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,6 @@ func (app *virtHandlerApp) Run() {
// Scheme is used to create an ObjectReference from an Object (e.g. VirtualMachineInstance) during Event creation
recorder := broadcaster.NewRecorder(scheme.Scheme, k8sv1.EventSource{Component: "virt-handler", Host: app.HostOverride})

if err != nil {
panic(err)
}

vmiSourceLabel, err := labels.Parse(fmt.Sprintf(v1.NodeNameLabel+" in (%s)", app.HostOverride))
if err != nil {
panic(err)
Expand Down

0 comments on commit aeb76b8

Please sign in to comment.