Skip to content

Commit 982e6f2

Browse files
committed
chore: remove symlink
1 parent 4d8ea27 commit 982e6f2

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

connection.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func New(config SQCloudConfig) *SQCloud {
7575
return &SQCloud{SQCloudConfig: config}
7676
}
7777

78-
// init registers the sqlitecloud scheme in the connection steing parser.
78+
// init registers the sqlitecloud scheme in the connection string parser.
7979
func init() {
8080
dburl.Register(dburl.Scheme{
8181
Driver: "sc", // sqlitecloud
@@ -186,7 +186,7 @@ func ParseTlsString(tlsconf string) (secure bool, tlsInsecureSkipVerify bool, pe
186186
// If a given value does not fulfill the above criteria's, an error is returned.
187187
func (this *SQCloud) CheckConnectionParameter() error {
188188
if strings.TrimSpace(this.Host) == "" {
189-
return errors.New(fmt.Sprintf("Invalid hostname (%s)", this.Host))
189+
return fmt.Errorf("Invalid hostname (%s)", this.Host)
190190
}
191191

192192
ip := net.ParseIP(this.Host)

src

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)