lib/vmpooler/api/dashboard.rb
def graph_server
        return @graph_server if @graph_server

        if config[:graphs]
          return false unless config[:graphs]['server']

          @graph_server = config[:graphs]['server']
        elsif config[:graphite]
          return false unless config[:graphite]['server']

          @graph_server = config[:graphite]['server']
        else
          false
        end
      end
# configuration setting for server hosting graph URLs to view
configuration setting for server hosting graph URLs to view
configuration setting for server hosting graph URLs to view
def graph_server
        return @graph_server if @graph_server
        if config[:graphs]
          return false unless config[:graphs]['server']
          @graph_server = config[:graphs]['server']
        elsif config[:graphite]
          return false unless config[:graphite]['server']
          @graph_server = config[:graphite]['server']
        else
          false
        end
      end
def graph_server return @graph_server if @graph_server if config [ :graphs ] return false unless config [ :graphs ] [ 'server' ] @graph_server = config [ :graphs ] [ 'server' ] elsif config [ :graphite ] return false unless config [ :graphite ] [ 'server' ] @graph_server = config [ :graphite ] [ 'server' ] else false end end
configuration setting for server hosting graph URLs to view
configuration setting for server hosting graph URLs to view