goodness function cannot compare with string
Bug #1975715 reported by
Maurice Escher
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Medium
|
kiran pawar |
Bug Description
Hi,
I want to use a goodness_function like
(share.share_proto == "CIFS") ? 100 : 50
But this breaks on scheduling, it wants to convert it to a float..
Apparently I can't use strings.
This is working in cinder, I will prepare to copy it over.
BR,
Maurice
Changed in manila: | |
importance: | Undecided → Medium |
assignee: | nobody → kiran pawar (kpdev) |
milestone: | none → zed-3 |
To post a comment you must log in.
Fix proposed to branch: master /review. opendev. org/c/openstack /manila/ +/843288
Review: https:/