comparison pkg/imports/dsec.go @ 4847:4847ac70103a

Made staticcheck happy. - error strings should not end with punctuation or a newline (ST1005) - error strings should not be capitalized (ST1005)
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 18 Nov 2019 11:54:20 +0100
parents e1cf039ea25a
children e4ab338e7ba9
comparison
equal deleted inserted replaced
4846:c69e35ec6adf 4847:4847ac70103a
77 "error: RowsAffected returned an error. Missing driver support?") 77 "error: RowsAffected returned an error. Missing driver support?")
78 return nil 78 return nil
79 } 79 }
80 if n == 0 { 80 if n == 0 {
81 return errors.New( 81 return errors.New(
82 "Nothing deleted. Probably due to missing access rights.") 82 "nothing deleted. Probably due to missing access rights")
83 } 83 }
84 return err 84 return err
85 } 85 }
86 86
87 // CleanUp of a section delete import is a NOP. 87 // CleanUp of a section delete import is a NOP.