diff --git a/pkg/chartutil/errors.go b/pkg/chartutil/errors.go index 0a4046d2e..f654113f3 100644 --- a/pkg/chartutil/errors.go +++ b/pkg/chartutil/errors.go @@ -20,20 +20,6 @@ import ( "fmt" ) -// ErrNoTable indicates that a chart does not have a matching table. -type ErrNoTable struct { - Key string -} - -func (e ErrNoTable) Error() string { return fmt.Sprintf("%q is not a table", e.Key) } - -// ErrNoValue indicates that Values does not contain a key with a value -type ErrNoValue struct { - Key string -} - -func (e ErrNoValue) Error() string { return fmt.Sprintf("%q is not a value", e.Key) } - type ErrInvalidChartName struct { Name string } diff --git a/pkg/chartutil/errors_test.go b/pkg/chartutil/errors_test.go index 3f63e3733..421cc5464 100644 --- a/pkg/chartutil/errors_test.go +++ b/pkg/chartutil/errors_test.go @@ -15,23 +15,3 @@ limitations under the License. */ package chartutil - -import ( - "testing" -) - -func TestErrorNoTableDoesNotPanic(t *testing.T) { - x := "empty" - - y := ErrNoTable{x} - - t.Logf("error is: %s", y) -} - -func TestErrorNoValueDoesNotPanic(t *testing.T) { - x := "empty" - - y := ErrNoValue{x} - - t.Logf("error is: %s", y) -}