Don't return nil, nil but instead return an empty response.

This commit is contained in:
Todd Knight committed 2021-11-10 15:41:23 -07:00
1 parent a0de5b0c55
commit 563a2b9931
1 file changed
+1 -1
+1 -1
View File
@@ -344,7 +344,7 @@ func (p *AwsPlugin) OnUpdateSet(ctx context.Context, req *pb.OnUpdateSetRequest)
func (p *AwsPlugin) OnDeleteSet(ctx context.Context, req *pb.OnDeleteSetRequest) (*pb.OnDeleteSetResponse, error) {
// No-op, AWS host set does not maintain anything that requires
// cleanup
return nil, nil
return &pb.OnDeleteSetResponse{}, nil
}
func (p *AwsPlugin) ListHosts(ctx context.Context, req *pb.ListHostsRequest) (*pb.ListHostsResponse, error) {