Skip to content

Commit 0b54be2

Browse files
PIKACHUIMCopilot
andauthored
Update internal/db/virtual_host.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Pikachu Ren <40362270+PIKACHUIM@users.noreply.github.com>
1 parent 38f761f commit 0b54be2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/db/virtual_host.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
func GetVirtualHostByDomain(domain string) (*model.VirtualHost, error) {
99
var v model.VirtualHost
1010
if err := db.Where("domain = ?", domain).First(&v).Error; err != nil {
11-
return nil, errors.Wrapf(err, "failed select virtual host")
11+
return nil, errors.Wrapf(err, "failed to select virtual host")
1212
}
1313
return &v, nil
1414
}

0 commit comments

Comments
 (0)