Skip to content
Snippets Groups Projects
Commit 9c493f1f authored by Angus Lees's avatar Angus Lees Committed by GitHub
Browse files

Merge pull request #43 from anguslees/goreport

Fix goreportcard-reported lint issues
parents efc629fc 9f31300b
No related branches found
No related tags found
No related merge requests found
# kubecfg
[![Build Status](https://travis-ci.org/ksonnet/kubecfg.svg?branch=master)](https://travis-ci.org/ksonnet/kubecfg)
[![Go Report Card](https://goreportcard.com/badge/github.com/ksonnet/kubecfg)](https://goreportcard.com/report/github.com/ksonnet/kubecfg)
A tool for managing Kubernetes resources as code.
......
......@@ -44,6 +44,9 @@ var deleteCmd = &cobra.Command{
}
defaultNs, _, err := clientConfig.Namespace()
if err != nil {
return err
}
sort.Sort(sort.Reverse(utils.DependencyOrder(objs)))
......
......@@ -57,17 +57,17 @@ func TestParseAuthHeader(t *testing.T) {
h.Add("WWW-Authenticate", ``)
expected := []*authChallenge{
&authChallenge{
{
Scheme: "basic",
Params: map[string]string{},
},
&authChallenge{
{
Scheme: "basic",
Params: map[string]string{
"realm": "User Visible Realm",
},
},
&authChallenge{
{
Scheme: "bearer",
Params: map[string]string{
"realm": "https://auth.docker.io/token",
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment