Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-workhorse
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-workhorse
Commits
405504cc
Commit
405504cc
authored
Mar 23, 2016
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More separating imports
parent
d44febe6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
internal/staticpages/deploy_page_test.go
internal/staticpages/deploy_page_test.go
+2
-1
internal/staticpages/error_pages.go
internal/staticpages/error_pages.go
+2
-1
No files found.
internal/staticpages/deploy_page_test.go
View file @
405504cc
package
staticpages
import
(
"gitlab.com/gitlab-org/gitlab-workhorse/internal/testhelper"
"io/ioutil"
"net/http"
"net/http/httptest"
"os"
"path/filepath"
"testing"
"gitlab.com/gitlab-org/gitlab-workhorse/internal/testhelper"
)
func
TestIfNoDeployPageExist
(
t
*
testing
.
T
)
{
...
...
internal/staticpages/error_pages.go
View file @
405504cc
...
...
@@ -2,11 +2,12 @@ package staticpages
import
(
"fmt"
"gitlab.com/gitlab-org/gitlab-workhorse/internal/helper"
"io/ioutil"
"log"
"net/http"
"path/filepath"
"gitlab.com/gitlab-org/gitlab-workhorse/internal/helper"
)
type
errorPageResponseWriter
struct
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment