pull/1007/head
fibonacci1729 9 years ago
parent b28c3793a0
commit cba0c6615f

@ -27,9 +27,9 @@ import (
rspb "k8s.io/helm/pkg/proto/hapi/release"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/labels"
kberrs "k8s.io/kubernetes/pkg/api/errors"
client "k8s.io/kubernetes/pkg/client/unversioned"
"k8s.io/kubernetes/pkg/labels"
)
var b64 = base64.StdEncoding
@ -174,7 +174,7 @@ func newConfigMapsObject(rls *rspb.Release) (*api.ConfigMap, error) {
// create and return configmap object
return &api.ConfigMap{
ObjectMeta: api.ObjectMeta{Name: rls.Name},
Data: map[string]string{"release": s},
Data: map[string]string{"release": s},
}, nil
}

@ -17,12 +17,12 @@ limitations under the License.
package driver
import (
"testing"
"reflect"
"testing"
"k8s.io/kubernetes/pkg/runtime"
rspb "k8s.io/helm/pkg/proto/hapi/release"
"k8s.io/kubernetes/pkg/client/unversioned/testclient"
"k8s.io/kubernetes/pkg/runtime"
)
func TestConfigMapGet(t *testing.T) {

Loading…
Cancel
Save