From ecb8d90f5929f7b549d4b669a425d6c846facae3 Mon Sep 17 00:00:00 2001 From: Samer Kanjo Date: Wed, 7 Oct 2015 08:38:30 -0500 Subject: [PATCH] #4098 Lint the influxdb package --- errors.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/errors.go b/errors.go index dd50ec4fb8..8ae1cdec47 100644 --- a/errors.go +++ b/errors.go @@ -16,10 +16,12 @@ var ( ErrFieldTypeConflict = errors.New("field type conflict") ) -// ErrDatabaseNotFound indicates that a database operation failed on the specified database. +// ErrDatabaseNotFound indicates that a database operation failed on the +// specified database because the specified database does not exist. func ErrDatabaseNotFound(name string) error { return fmt.Errorf("database not found: %s", name) } -// ErrRetentionPolicyNotFound indicates that the named retention policy could not be found in the database. +// ErrRetentionPolicyNotFound indicates that the named retention policy could +// not be found in the database. func ErrRetentionPolicyNotFound(name string) error { return fmt.Errorf("retention policy not found: %s", name) }