Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
notifications-bot
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
archives
notifications-bot
Merge requests
!40
Hotfix/identity registration
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Hotfix/identity registration
hotfix/identity-registration
into
hotfix/notification-testing
Overview
0
Commits
3
Pipelines
0
Changes
8
Merged
Hotfix/identity registration
Jonah Husson
requested to merge
hotfix/identity-registration
into
hotfix/notification-testing
Jun 8, 2023
Overview
0
Commits
3
Pipelines
0
Changes
8
0
0
Merge request reports
Compare
hotfix/notification-testing
version 1
70bc68a6
Jun 8, 2023
hotfix/notification-testing (base)
and
latest version
latest version
52236ae3
3 commits,
Jun 8, 2023
version 1
70bc68a6
2 commits,
Jun 8, 2023
8 files
+
62
−
32
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
8
notifications/providers/apns.go
+
2
−
2
View file @ 52236ae3
Edit in single-file editor
Open in Web IDE
Show full file
@@ -41,9 +41,9 @@ func NewApns(params APNSParams) (Provider, error) {
return
nil
,
errors
.
Errorf
(
"APNS not properly configured: %+v"
,
params
)
}
jww
.
INFO
.
Print
ln
(
"Initializing APNS provider for %s (%s) with key ID %s"
,
params
.
BundleID
,
params
.
Issuer
,
params
.
KeyID
)
jww
.
INFO
.
Print
f
(
"Initializing APNS provider for %s (%s) with key ID %s"
,
params
.
BundleID
,
params
.
Issuer
,
params
.
KeyID
)
if
params
.
Dev
{
jww
.
WARN
.
Print
ln
(
"APNS provider for %s running in dev mode"
,
params
.
BundleID
)
jww
.
WARN
.
Print
f
(
"APNS provider for %s running in dev mode"
,
params
.
BundleID
)
}
authKey
,
err
:=
apnstoken
.
AuthKeyFromFile
(
params
.
KeyPath
)
Loading