Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sgmiller committed Jan 10, 2025
1 parent 4f66df1 commit afc29c6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions wrappers/gcpckms/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ func getOpts(opt ...wrapping.Option) (*options, error) {
}
}

if err := wrapping.ParsePaths(&opts.withClientId, &opts.withClientSecret
// Parse the global options
var err error
opts.Options, err = wrapping.GetOpts(wrappingOptions...)
Expand Down Expand Up @@ -83,7 +82,6 @@ func getOpts(opt ...wrapping.Option) (*options, error) {
return nil, err
}


return &opts, nil
}

Expand Down
3 changes: 1 addition & 2 deletions wrappers/ocikms/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,10 @@ func getOpts(opt ...wrapping.Option) (*options, error) {
}
}

if err := wrapping.ParsePaths(&opts.); err != nil {
if err := wrapping.ParsePaths(&opts.WithKeyId); err != nil {
return nil, err
}


return &opts, nil
}

Expand Down

0 comments on commit afc29c6

Please sign in to comment.