As we reevaluate how to best support and maintain Staging Ref in the future, we encourage development teams using this environment to highlight their use cases in the following issue: https://gitlab.com/gitlab-com/gl-infra/software-delivery/framework/software-delivery-framework-issue-tracker/-/issues/36.

Skip to content
Snippets Groups Projects
Commit 5c655665 authored by Igor Drozdov's avatar Igor Drozdov
Browse files

Merge branch '695-remove-nilaway-detections-for-client-package' into 'main'

Resolve "Remove NilAway detections for 'client' package"

Closes #695

See merge request https://gitlab.com/gitlab-org/gitlab-shell/-/merge_requests/896



Merged-by: default avatarIgor Drozdov <idrozdov@gitlab.com>
Approved-by: default avatarIgor Drozdov <idrozdov@gitlab.com>
Co-authored-by: default avatarAsh McKenzie <amckenzie@gitlab.com>
parents db6a0059 7d1f972a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -106,7 +106,7 @@ func newRequest(ctx context.Context, method, host, path string, data interface{}
}
func parseError(resp *http.Response, respErr error) error {
if respErr != nil {
if resp == nil || respErr != nil {
return &ApiError{"Internal API unreachable"}
}
Loading
Loading
Loading
Loading
@@ -68,6 +68,7 @@ func testBasicAuthHeaders(t *testing.T, response *http.Response) {
require.NoError(t, err)
headerParts := strings.Split(string(responseBody), " ")
require.NotNil(t, headerParts)
require.Equal(t, "Basic", headerParts[0])
credentials, err := base64.StdEncoding.DecodeString(headerParts[1])
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment