Skip to content
Snippets Groups Projects
Commit 58fa951f authored by Danis Kirasirov's avatar Danis Kirasirov
Browse files

refactoring

parent 0596f311
No related branches found
No related tags found
No related merge requests found
...@@ -148,9 +148,6 @@ func PtrServicesFindOptionsToProto(opts *options.FindOptions) (*pbcommon.FindOpt ...@@ -148,9 +148,6 @@ func PtrServicesFindOptionsToProto(opts *options.FindOptions) (*pbcommon.FindOpt
} }
func ProtoToPtrServicesFindOptions(protoOpts *pbcommon.FindOptions) (*options.FindOptions, error) { func ProtoToPtrServicesFindOptions(protoOpts *pbcommon.FindOptions) (*options.FindOptions, error) {
if protoOpts == nil {
return nil, nil
}
return options.FindOptionsFromPB(protoOpts), nil return options.FindOptionsFromPB(protoOpts), nil
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment