mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-26 00:41:04 +00:00
8 lines
211 B
CoffeeScript
8 lines
211 B
CoffeeScript
exports.generateCacheName = (id, connectionParams) ->
|
|
result = "#{id}-#{connectionParams.network}"
|
|
|
|
if connectionParams.wifiSsid?
|
|
result += "-#{connectionParams.wifiSsid}"
|
|
|
|
return "#{result}-#{Date.now()}"
|