Problem saving cache
zytek opened this issue · comments
Jakub Paweł Głazik commented
➜ ~ cat .goship.yaml
username: ec2-user
use_private_network: true
use_dns: true
cache_directory: /Users/zytek/tmp/
cache_file_prefix: /usr/bin/scp
➜ ~ goship find vpn
Error while attempting to save cache file /Users/zytek/tmp///usr/bin/scpaws.ec2_default_us-east-1: invalid argument
Cache refresh total time: 440.765131ms
😱
Marcin Matłaszek commented
cache_file_prefix: /usr/bin/scp
seems not necessarily valid :)
Jakub Paweł Głazik commented
Missed that. It was added via goship configure
.. :(
Jakub Paweł Głazik commented
➜ ~ goship configure
Error while reading file /Users/zytek/.goship.yamlWhat username should be used when connecting to remote resources?
Enter a value: x
Use private network when connecting to remote resources? [true/false]
Enter a value (Default is false):
Use DNS when connecting to remote resources? [true/false]
Enter a value (Default is false):
Cache directory where goship cache will be stored
Enter a value (Default is /tmp):
Cache files prefix
Enter a value (Default is goship_cache_):
Cache validity in seconds
Enter a value (Default is 300):
Be verbose by default? [true/false]
Enter a value (Default is false):
Default ssh binary
Enter a value (Default is /usr/bin/ssh):
Default scp binary
Enter a value (Default is /usr/bin/scp):
Config file: Config file wrote to `/Users/zytek/.goship.yaml`. Please refer to documentation in order to configure cloud providers% ➜ ~ cat .goship.yaml
username: x
use_private_network: false
use_dns: false
cache_directory: /tmp
cache_file_prefix: /usr/bin/scp
cache_validity: 300
verbose: false
ssh_binary: /usr/bin/ssh
ssh_extra_params: []
scp_binary: /usr/bin/scp
scp_extra_params: []
Jakub Paweł Głazik commented
/reopen ;-)
Marcin Matłaszek commented