(numGPUs int)
| 146 | } |
| 147 | |
| 148 | func defaultCreateDiskSizeGB(numGPUs int) int { |
| 149 | if numGPUs <= 0 { |
| 150 | numGPUs = 1 |
| 151 | } |
| 152 | return numGPUs * includedDiskGBPerGPU |
| 153 | } |
| 154 | |
| 155 | func runCreate(cmd *cobra.Command) error { |
| 156 | if err := resolveTemplateAlias(cmd); err != nil { |
no outgoing calls
no test coverage detected