func (s *pluginService) UndeprecateTemplate(
	ctx context.Context,
	owner string,
	name string,
) (_ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	_, err := s.client.UndeprecateTemplate(
		ctx,
		&v1alpha1.UndeprecateTemplateRequest{
			Owner: owner,
			Name:  name,
		},
	)
	if err != nil {
		return err
	}
	return nil
}
// UndeprecateTemplate makes the template not deprecated and removes any deprecation_message.
UndeprecateTemplate makes the template not deprecated and removes any deprecation_message.
// UndeprecateTemplate makes the template not deprecated and removes any deprecation_message .
func (s *pluginService) UndeprecateTemplate(
	ctx context.Context,
	owner string,
	name string,
) (_ error) {
	if s.contextModifier != nil {
		ctx = s.contextModifier(ctx)
	}
	_, err := s.client.UndeprecateTemplate(
		ctx,
		&v1alpha1.UndeprecateTemplateRequest{
			Owner: owner,
			Name:  name,
		},
	)
	if err != nil {
		return err
	}
	return nil
}
func ( s * pluginService ) UndeprecateTemplate ( ctx context . Context , owner string , name string , ) ( _ error ) { if s . contextModifier != nil { ctx = s . contextModifier ( ctx ) } _ , err := s . client . UndeprecateTemplate ( ctx , & v1alpha1 . UndeprecateTemplateRequest { Owner : owner , Name : name , } , ) if err != nil { return err } return nil }
UndeprecateTemplate makes the template not deprecated and removes any deprecation_message.
UndeprecateTemplate makes the template not deprecated and removes any deprecation_message .