Skip to content

Commit 3072db2

Browse files
committed
Fix irritating golint warnings.
1 parent a99be82 commit 3072db2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compute/account.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func (client *Client) GetAccount() (*Account, error) {
6565
}
6666

6767
if statusCode == 401 {
68-
return nil, fmt.Errorf("Cannot connect to compute API (invalid credentials).")
68+
return nil, fmt.Errorf("cannot connect to compute API (invalid credentials).")
6969
}
7070

7171
account := &Account{}

compute/ipblock.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ func calculateBlockAddresses(block PublicIPBlock) ([]string, error) {
340340

341341
baseAddressComponents := strings.Split(block.BaseIP, ".")
342342
if len(baseAddressComponents) != 4 {
343-
return addresses, fmt.Errorf("Invalid base IP address '%s'.", block.BaseIP)
343+
return addresses, fmt.Errorf("invalid base IP address '%s'.", block.BaseIP)
344344
}
345345
baseOctet, err := strconv.Atoi(baseAddressComponents[3])
346346
if err != nil {

0 commit comments

Comments
 (0)