X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sm.py;h=ca21d481ae3cbb6262fc4b421a5fc4eb38d791ab;hb=310731475dd01a807c72a92e8549e965f918698a;hp=841fb8f6e38569de8ab294725e28e47c6c7746d6;hpb=8a17b5db4ca3827c077401993957f703b1347369;p=nodemanager.git diff --git a/sm.py b/sm.py index 841fb8f..ca21d48 100644 --- a/sm.py +++ b/sm.py @@ -99,7 +99,7 @@ def GetSlivers(data, config = None, plc=None, fullupdate=True): rec.setdefault('keys', '\n'.join([key_struct['key'] for key_struct in keys])) ## 'Type' isn't returned by GetSlivers() for whatever reason. We're overloading - ## instantiation here, but i suppose its the ssame thing when you think about it. -FA + ## instantiation here, but i suppose its the same thing when you think about it. -FA # Handle nm controller here if rec['instantiation'].lower() == 'nm-controller': rec.setdefault('type', attr_dict.get('type', 'controller.Controller'))