mirror of
https://github.com/ovh/the-bastion.git
synced 2026-05-09 08:25:27 +02:00
[PR #145] [MERGED] fix: accountInfo: get rid of 2 warn() #274
Labels
No labels
answered
bug
documentation
enhancement
enhancement
feature
feature
kept-open-for-info
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/the-bastion#274
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ovh/the-bastion/pull/145
Author: @speed47
Created: 2/19/2021
Status: ✅ Merged
Merged: 2/22/2021
Merged by: @speed47
Base:
master← Head:fixwarn📝 Commits (2)
68e6a67fix: accountInfo: get rid of a warn()83f72e5enh: interactive: avoid a warn() when TERM is undef📊 Changes
2 files changed (+10 additions, -2 deletions)
View changed files
📝
bin/plugin/restricted/accountInfo(+2 -1)📝
lib/perl/OVH/Bastion/interactive.inc(+8 -1)📄 Description
This occurred since
v3.01.99-rc1when requesting anaccountInfoof an account without an
ingress_piv_policyset.Use of uninitialized value in concatenation (.) or string at /usr/share/perl/5.28/Term/ANSIColor.pm line 510. at /opt/bastion/bin/plugin/restricted/../../../lib/perl/OVH/Bastion.pm line 41. OVH::Bastion::__ANON__("Use of uninitialized value \ in concatenation (.) or st"...) called at /usr/share/perl/5.28/Term/ANSIColor.pm line 510 Term::ANSIColor::colored(undef, "green") called at /opt/bastion/bin/plugin/restricted/accountInfo line 178🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.