Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LIBCLOUD-547] linode.py labels too long with name use linode id instead #287

Closed
wants to merge 7 commits into from

Conversation

earthgecko
Copy link
Contributor

Using linode["id"] for labels and the labels step needed to be moved down to after the linode object exists so that the id can be used.

Apologies about the old commit messages could not get rid of them rebased and all but the diff is sound.

@Kami
Copy link
Member

Kami commented May 2, 2014

Sorry for the delay, I'll review the pull request now.

# Use the linode id as the name can be up to 63 chars and the labels
# are limited to 48 chars
label = {
"lconfig": "[%s] Configuration Profile" % linode["id"],
Copy link
Member

Choose a reason for hiding this comment

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

This looks good, although if we wanted to be sure that labels are never longer we could truncate it in this case (`...[:48]).

@Kami
Copy link
Member

Kami commented May 2, 2014

@earthgecko I wanted to apply your patch into trunk, but I'm getting conflicts.

Can you please sync you branch with upstream trunk and squash all the commits?

@asfgit asfgit closed this in 940e10d May 6, 2014
@Kami
Copy link
Member

Kami commented May 7, 2014

I went ahead and manually merged the changes into trunk. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants