Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
....
var updateInfo UpdateInfo
json.NewDecoder(in).Decode(&updateInfo)
_, err := cc.UpdateInstance(context.Background(), core.UpdateInstanceRequest{InstanceId: common.String(updateInfo.OCID), UpdateInstanceDetails: core.UpdateInstanceDetails{DisplayName: common.String(updateInfo.NewDisplayName)}})
....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment