Added org pool command

* added new command
  * fixed a bunch of bugs in orgs
This commit is contained in:
Gabriel Adrian Samfira 2022-05-04 21:57:08 +00:00
parent 7964a8f03f
commit f130798f41
10 changed files with 303 additions and 39 deletions

View file

@ -253,6 +253,8 @@ func (r *basePool) addInstanceToProvider(instance params.Instance) error {
return runnerErrors.NewNotFoundError("invalid provider ID")
}
log.Printf(">>> %v", pool.Tags)
labels := []string{}
for _, tag := range pool.Tags {
labels = append(labels, tag.Name)