Skip to content

Commit edb25ba

Browse files
committed
fix: integrate review commentsé
1 parent 547878c commit edb25ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pbm/storage/fs/fs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func (cfg *Config) IsSameStorage(other *Config) bool {
6565

6666
func (cfg *Config) Cast() error {
6767
if cfg == nil {
68-
return errors.New("Missing blackhole configuration with blackhole storage type.")
68+
return errors.New("missing filesystem configuration with filesystem storage type.")
6969
}
7070
if cfg.Path == "" {
7171
return errors.New("path can't be empty")

pbm/storage/s3/s3.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ func (cfg *Config) IsSameStorage(other *Config) bool {
201201

202202
func (cfg *Config) Cast() error {
203203
if cfg == nil {
204-
return errors.New("Missing S3 configuration with S3 storage type.")
204+
return errors.New("missing S3 configuration with S3 storage type")
205205
}
206206
if cfg.Region == "" {
207207
cfg.Region = defaultS3Region

0 commit comments

Comments
 (0)