ContainerSolutions / ContainerSolutions/mesos-starter

Replace instances of "getRequiredProperty" with accessors to respective classes

Open
#36 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
47
Forks
10
PR merge metrics
No merged PRs in 30d

Description

For example, there is the property getter:

```
environment.getRequiredProperty("mesos.resources.cpus", Double.class)
```

It should use the getter:
MesosConfigProperties.getResources.getCpus()

This is so that other accessors also don't have to use the static getRequiredProperty method.

(Another eg. scale isn't a field in ResourcesConfigProperties)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.