Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tools for technical analysts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Preservation
tools for technical analysts
Commits
1629930b
Commit
1629930b
authored
1 year ago
by
Andreas Romeyke
Browse files
Options
Downloads
Patches
Plain Diff
- disabling warnings in output
parent
0405ce1b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/SLUB/LZA/TA.pm
+2
-0
2 additions, 0 deletions
lib/SLUB/LZA/TA.pm
with
2 additions
and
0 deletions
lib/SLUB/LZA/TA.pm
+
2
−
0
View file @
1629930b
...
@@ -51,6 +51,7 @@ BEGIN {
...
@@ -51,6 +51,7 @@ BEGIN {
sub
common_global_validate
{
sub
common_global_validate
{
my
(
$self
,
$opt
,
$args
)
=
@_
;
my
(
$self
,
$opt
,
$args
)
=
@_
;
no
warnings
;
foreach
my
$override
(
qw(elasticsearch_host elasticsearch_port http_only permanent_volume)
)
{
foreach
my
$override
(
qw(elasticsearch_host elasticsearch_port http_only permanent_volume)
)
{
if
(
if
(
(
exists
$opt
->
{
$override
})
(
exists
$opt
->
{
$override
})
...
@@ -63,6 +64,7 @@ HINT
...
@@ -63,6 +64,7 @@ HINT
$config
{
$override
}
=
$opt
->
{
$override
};
$config
{
$override
}
=
$opt
->
{
$override
};
}
}
}
}
use
warnings
;
# option overrides config
# option overrides config
$config
{
elasticsearch_protocol
}
=
$config
{
http_only
}
?
'
http
'
:
'
https
';
$config
{
elasticsearch_protocol
}
=
$config
{
http_only
}
?
'
http
'
:
'
https
';
return
1
;
return
1
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment