Revision 202b47e9 include/VMGroupRole.h

View differences:

include/VMGroupRole.h
18 18
#define VMGROUP_ROLE_H_
19 19

  
20 20
#include "PoolObjectSQL.h"
21
#include "NebulaUtil.h"
21 22

  
22 23
class VMGroupPool;
23 24

  
......
186 187

  
187 188
            for ( it = key_set.begin(); it != key_set.end() ; ++it )
188 189
            {
189
                if ( roles.find(*it) == roles.end() )
190
                string rname = one_util::trim(*it);
191

  
192
                if ( roles.find(rname) == roles.end() )
190 193
                {
191 194
                    return false;
192 195
                }

Also available in: Unified diff