(deps commandDeps)
| 131 | } |
| 132 | |
| 133 | func resolveUpdateRuntime(deps commandDeps) (*runtimeContext, bool, error) { |
| 134 | runtime, err := loadRuntimeContext(deps) |
| 135 | if err != nil { |
| 136 | return nil, false, err |
| 137 | } |
| 138 | _, running, err := daemonInfo(runtime.HomePaths, deps) |
| 139 | if err != nil { |
| 140 | return nil, false, err |
| 141 | } |
| 142 | return runtime, running, nil |
| 143 | } |
| 144 | |
| 145 | func finishLocalUpdate( |
| 146 | cmd *cobra.Command, |
no test coverage detected