Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime Martinez <jmartinez@gitlab.com>2020-01-16 07:16:54 +0300
committerJaime Martinez <jmartinez@gitlab.com>2020-01-16 07:16:54 +0300
commitd076d0a90ca3490d777e876b801653206ba0ac7e (patch)
tree0d68eccc98529932705934715a0c91743ac67774 /internal
parent2983673812377faf0e94265119146fa11348cf16 (diff)
rename JWT token expiry method to match interface
Diffstat (limited to 'internal')
-rw-r--r--internal/source/domains_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/source/domains_test.go b/internal/source/domains_test.go
index 72c1b2f3..bbdb8c21 100644
--- a/internal/source/domains_test.go
+++ b/internal/source/domains_test.go
@@ -26,7 +26,7 @@ func (c sourceConfig) GitlabClientConnectionTimeout() time.Duration {
return 10 * time.Second
}
-func (c sourceConfig) GitlabJWTTokenTimeout() time.Duration {
+func (c sourceConfig) GitlabJWTTokenExpiry() time.Duration {
return 30 * time.Second
}