Skip to content

Commit

Permalink
Fix error on nil args/config for remote plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew-Morozko committed Jun 20, 2024
1 parent 3819b05 commit 88c79e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/pluginapi/v1/dataspec_decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

func decodeRootSpec(src *Spec) (dataspec.RootSpec, error) {
sp, err := decodeSpec(src)
if err != nil {
if sp == nil || err != nil {
return nil, err
}
rs, ok := sp.(dataspec.RootSpec)
Expand Down

0 comments on commit 88c79e4

Please sign in to comment.