Skip to content

Commit 377b92f

Browse files
authored
Merge pull request #153 from weaveworks/release_tidy
chore: tidy up for the v0.5.0 release
2 parents ab40fa1 + f51844b commit 377b92f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

controllers/microvmmachine_controller.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,8 @@ func (r *MicrovmMachineReconciler) reconcileNormal(
298298
return r.parseMicroVMState(machineScope, microvm.Status.State)
299299
}
300300

301-
func (r *MicrovmMachineReconciler) getMicrovmService(addr string,
301+
func (r *MicrovmMachineReconciler) getMicrovmService(
302+
addr string,
302303
machineScope *scope.MachineScope) (*microvm.Service, error) {
303304
if r.MvmClientFunc == nil {
304305
return nil, errClientFactoryFuncRequired

docs/compatibility.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ This table shows the compatibility between CAPMVM and Flintlock versions.
44

55
| CAPMVM | Flintlock |
66
| ----------- | ---------------------- |
7+
| `v0.5.0` | `v0.1.0-alpha.9` |
78
| `v0.4.0` | `v0.1.0-alpha.8` |
89
| `v0.3.0` | `v0.1.0-alpha.6` |
910
| `v0.2.2` | `v0.1.0-alpha.5` |

internal/scope/machine.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,7 @@ func (m *MachineScope) GetFailureDomain() (string, error) {
172172

173173
providerID := m.GetProviderID()
174174
if providerID != "" {
175-
failureDomain := m.getFailureDomainFromProviderID(providerID)
176-
177-
return failureDomain, nil
175+
return m.getFailureDomainFromProviderID(providerID), nil
178176
}
179177

180178
// If we've got this far then we need to work out how to get a failure domain. In the future we will make

0 commit comments

Comments
 (0)