Skip to content
This repository has been archived by the owner on Jan 27, 2018. It is now read-only.

machine schema #5

Merged
merged 2 commits into from
Dec 16, 2017
Merged

machine schema #5

merged 2 commits into from
Dec 16, 2017

Conversation

StrongMonkey
Copy link
Contributor

No description provided.

return obj, nil
}

func (m *Lifecycle) createOrUpdateMachineForEmbeddedType(embbedType string, embedded bool) error {
machineSchema, err := m.schemaClient.Get("machineconfig", metav1.GetOptions{})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to lock here because Updated will be called in parallel for different dynamicSchema IDs

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ibuildthecloud now it is 🔒ed.

@StrongMonkey StrongMonkey changed the title wip(machine schema) machine schema Dec 15, 2017
@ibuildthecloud ibuildthecloud merged commit b843ab1 into rancher:master Dec 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants