Skip to content

Commit

Permalink
fix: update server.go to use new metadata struct (#112)
Browse files Browse the repository at this point in the history
Signed-off-by: RealAnna <[email protected]>
  • Loading branch information
RealAnna authored Feb 22, 2024
1 parent 8201fdc commit 6780f99
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions sync/pkg/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,5 @@ func (s *SyncImpl) FetchAllFlags(context.Context, *v1.FetchAllFlagsRequest) (*v1
}

func (s *SyncImpl) GetMetadata(context.Context, *v1.GetMetadataRequest) (*v1.GetMetadataResponse, error) {
return &v1.GetMetadataResponse{
Metadata: []*v1.KeyValue{
{
Key: "paths",
Value: fmt.Sprintf("%v", s.fw.paths),
},
},
}, nil
return &v1.GetMetadataResponse{}, nil
}

0 comments on commit 6780f99

Please sign in to comment.