Skip to content

Commit 22675ed

Browse files
committed
fix(config): service key miss whitespace
1 parent 8b44022 commit 22675ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/conf/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func GetServiceKey() (string, error) {
3030
if err != nil {
3131
return "", fmt.Errorf("couldn't get builder key from %s (%s)", ServiceKeyLocation, err)
3232
}
33-
serviceKey := strings.Trim(string(serviceKeyBytes), "\n")
33+
serviceKey := strings.TrimSuffix(string(serviceKeyBytes), "\n")
3434
return serviceKey, nil
3535
}
3636

0 commit comments

Comments
 (0)