You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "Andy Kurth (Created) (JIRA)" <ji...@apache.org> on 2012/03/19 21:35:38 UTC

[jira] [Created] (VCL-565) Convert code which directly accesses $ENV{management_node_info}

Convert code which directly accesses $ENV{management_node_info}
---------------------------------------------------------------

                 Key: VCL-565
                 URL: https://issues.apache.org/jira/browse/VCL-565
             Project: VCL
          Issue Type: Improvement
          Components: vcld (backend)
    Affects Versions: 2.2.1
            Reporter: Andy Kurth
            Assignee: Andy Kurth
             Fix For: 2.3


There are several places where $ENV{management_node_info} is accessed directly instead of calling $self->data->get_management_* or utils.pm::get_management_node_info().  This makes it impossible to change the underlying management node info data structure without breaking the code.

Code should be changed to $self->data->get_management_* anywhere $ENV{management_node_info} is accessed directly and $self is available.  If $self is not available, utils.pm::get_management_node_info() should be called.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (VCL-565) Convert code which directly accesses $ENV{management_node_info}

Posted by "Andy Kurth (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/VCL-565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Kurth resolved VCL-565.
----------------------------

    Resolution: Fixed
    
> Convert code which directly accesses $ENV{management_node_info}
> ---------------------------------------------------------------
>
>                 Key: VCL-565
>                 URL: https://issues.apache.org/jira/browse/VCL-565
>             Project: VCL
>          Issue Type: Improvement
>          Components: vcld (backend)
>    Affects Versions: 2.2.1
>            Reporter: Andy Kurth
>            Assignee: Andy Kurth
>             Fix For: 2.3
>
>
> There are several places where $ENV{management_node_info} is accessed directly instead of calling $self->data->get_management_* or utils.pm::get_management_node_info().  This makes it impossible to change the underlying management node info data structure without breaking the code.
> Code should be changed to $self->data->get_management_* anywhere $ENV{management_node_info} is accessed directly and $self is available.  If $self is not available, utils.pm::get_management_node_info() should be called.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira