From: Stoiko Ivanov <s.ivanov@proxmox.com>
To: Fiona Ebner <f.ebner@proxmox.com>
Cc: 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:13:36 +0200 [thread overview]
Message-ID: <20230703111336.1919cf83@rosa.proxmox.com> (raw)
In-Reply-To: <a8d3cc64-0486-84df-4e3d-7f886ba9fc3b@proxmox.com>
On Mon, 3 Jul 2023 11:05:05 +0200
Fiona Ebner <f.ebner@proxmox.com> wrote:
> 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?
Thanks for noticing! I'll go with Dominik's fix for the issue :)
>
> > print "entering PMG shell - type 'help' for help\n";
> >
> > my $term = new Term::ReadLine('pmgsh');
prev parent reply other threads:[~2023-07-03 9:14 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
2023-07-03 9:13 ` Stoiko Ivanov [this message]
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=20230703111336.1919cf83@rosa.proxmox.com \
--to=s.ivanov@proxmox.com \
--cc=f.ebner@proxmox.com \
--cc=pmg-devel@lists.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