Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Task name crashes Mesos-DNS #432

@sargun

Description

@sargun

If you start a marathon app named hello------------------------------------------------------------------------------------------------------------------------------f it crashes mesos-dns. This is due to the creativity involved in the labels.trimCut function.

@jdef I propose we simplify this function. I say we make it trims the left characters, and then it trims the right characters, and if it is still too long, it just truncates it.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions