Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
environment_indicator
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
environment_indicator
Merge requests
!83
Issue
#3494122
Set default values to new configs.
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Issue
#3494122
Set default values to new configs.
issue/environment_indicator-3494122:3494122-set-default-values-to-new-config
into
4.x
Overview
0
Commits
1
Pipelines
2
Changes
1
Merged
Issue #3494122 Set default values to new configs.
Ignacio Sánchez Holgueras
requested to merge
issue/environment_indicator-3494122:3494122-set-default-values-to-new-config
into
4.x
9 months ago
Overview
0
Commits
1
Pipelines
2
Changes
1
Closes
#3494122
0
0
Merge request reports
Compare
4.x
version 1
abad8271
9 months ago
4.x (base)
and
latest version
latest version
abad8271
1 commit,
9 months ago
version 1
abad8271
1 commit,
9 months ago
1 file
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/ToolbarHandler.php
+
2
−
2
View file @ abad8271
Edit in single-file editor
Open in Web IDE
Show full file
@@ -221,8 +221,8 @@ class ToolbarHandler {
* @return string|null
*/
public
function
getCurrentRelease
():
?string
{
$version_identifier
=
$this
->
config
->
get
(
'version_identifier'
);
$version_identifier_fallback
=
$this
->
config
->
get
(
'version_identifier_fallback'
);
$version_identifier
=
$this
->
config
->
get
(
'version_identifier'
)
??
'environment_indicator_current_release'
;
$version_identifier_fallback
=
$this
->
config
->
get
(
'version_identifier_fallback'
)
??
'deployment_identifier'
;
$release
=
$this
->
getVersionIdentifier
(
$version_identifier
);
if
(
$release
!==
NULL
)
{
Loading