Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
raffis committed May 30, 2024
1 parent cd5cc7f commit 7bb930f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion internal/parser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ func (p *Parser) Run(ctx context.Context, in io.Reader) error {
return nil
}

index.Push(obj)
if err := index.Push(obj); err != nil {
return err
}
}
}
}))
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func main() {
must(err)

scheme := kruntime.NewScheme()
v1beta1.SchemeBuilder.AddToScheme(scheme)
_ = v1beta1.SchemeBuilder.AddToScheme(scheme)
_ = corev1.AddToScheme(scheme)
factory := serializer.NewCodecFactory(scheme)
decoder := factory.UniversalDeserializer()
Expand Down

0 comments on commit 7bb930f

Please sign in to comment.