(profile, config)
| 70 | } |
| 71 | |
| 72 | function _getMemConfig(profile, config) { |
| 73 | const credentials = _getMemCredentials(profile); |
| 74 | |
| 75 | const memConfig = Object.assign({}, DEFAULT_GLOBAL_OPTIONS, DEFAULT_MEM_OPTIONS, { credentials }, config); |
| 76 | |
| 77 | if (process.env.IP) { |
| 78 | memConfig.endpoint = `${transport}://${process.env.IP}:8000`; |
| 79 | } |
| 80 | |
| 81 | return memConfig; |
| 82 | } |
| 83 | |
| 84 | function _getAwsConfig(profile, config) { |
| 85 | const credentials = getAwsCredentials(profile); |
no test coverage detected