Skip to content

Commit

Permalink
Updated plugin/framework server files to cope with protoc changes
Browse files Browse the repository at this point in the history
Signed-off-by: Scott Seago <[email protected]>
  • Loading branch information
sseago committed Aug 26, 2022
1 parent 9addf41 commit 0000706
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pkg/plugin/framework/backup_item_action_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func (s *BackupItemActionGRPCServer) AppliesTo(
}

return &protobiav1.BackupItemActionAppliesToResponse{
&proto.ResourceSelector{
ResourceSelector: &proto.ResourceSelector{
IncludedNamespaces: resourceSelector.IncludedNamespaces,
ExcludedNamespaces: resourceSelector.ExcludedNamespaces,
IncludedResources: resourceSelector.IncludedResources,
Expand Down
2 changes: 1 addition & 1 deletion pkg/plugin/framework/delete_item_action_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (s *DeleteItemActionGRPCServer) AppliesTo(ctx context.Context, req *proto.D
}

return &proto.DeleteItemActionAppliesToResponse{
&proto.ResourceSelector{
ResourceSelector: &proto.ResourceSelector{
IncludedNamespaces: resourceSelector.IncludedNamespaces,
ExcludedNamespaces: resourceSelector.ExcludedNamespaces,
IncludedResources: resourceSelector.IncludedResources,
Expand Down
2 changes: 1 addition & 1 deletion pkg/plugin/framework/item_snapshotter_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func (recv *ItemSnapshotterGRPCServer) AppliesTo(ctx context.Context, req *proto
}

return &proto.ItemSnapshotterAppliesToResponse{
&proto.ResourceSelector{
ResourceSelector: &proto.ResourceSelector{
IncludedNamespaces: resourceSelector.IncludedNamespaces,
ExcludedNamespaces: resourceSelector.ExcludedNamespaces,
IncludedResources: resourceSelector.IncludedResources,
Expand Down
2 changes: 1 addition & 1 deletion pkg/plugin/framework/restore_item_action_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (s *RestoreItemActionGRPCServer) AppliesTo(ctx context.Context, req *proto.
}

return &proto.RestoreItemActionAppliesToResponse{
&proto.ResourceSelector{
ResourceSelector: &proto.ResourceSelector{
IncludedNamespaces: resourceSelector.IncludedNamespaces,
ExcludedNamespaces: resourceSelector.ExcludedNamespaces,
IncludedResources: resourceSelector.IncludedResources,
Expand Down

0 comments on commit 0000706

Please sign in to comment.