public inbox for pmg-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Fiona Ebner <f.ebner@proxmox.com>
To: Stoiko Ivanov <s.ivanov@proxmox.com>, pmg-devel@lists.proxmox.com
Subject: Re: [pmg-devel] [PATCH pmg-api] fix #4815: pmgsh: declare rpcenv on top
Date: Mon, 3 Jul 2023 11:05:05 +0200	[thread overview]
Message-ID: <a8d3cc64-0486-84df-4e3d-7f886ba9fc3b@proxmox.com> (raw)
In-Reply-To: <20230703084801.30822-1-s.ivanov@proxmox.com>

Am 03.07.23 um 10:48 schrieb Stoiko Ivanov:
>  
> -# only set up once actually required allows calling verifyapi in restriced clean sbuild env
> -PMG::RESTEnvironment->setup_default_cli_env();
> -my $rpcenv = PMG::RESTEnvironment->get();
> -initlog($ENV{PVE_LOG_ID} || 'pmgsh');
> -

Now it's not initialized for the case when no command is specified, i.e.
when entering the PMG shell?

>  print "entering PMG shell - type 'help' for help\n";
>  
>  my $term = new Term::ReadLine('pmgsh');




  reply	other threads:[~2023-07-03  9:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-03  8:48 Stoiko Ivanov
2023-07-03  9:05 ` Fiona Ebner [this message]
2023-07-03  9:13   ` Stoiko Ivanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a8d3cc64-0486-84df-4e3d-7f886ba9fc3b@proxmox.com \
    --to=f.ebner@proxmox.com \
    --cc=pmg-devel@lists.proxmox.com \
    --cc=s.ivanov@proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal