[dashboard] Fix KeyPair tracking (#5172)
This commit is contained in:
parent
0d68a47c2b
commit
36dd7a748a
@ -1,3 +1,4 @@
|
||||
from moto.core import BaseModel
|
||||
from ..exceptions import (
|
||||
FilterNotImplementedError,
|
||||
InvalidKeyPairNameError,
|
||||
@ -12,7 +13,7 @@ from ..utils import (
|
||||
)
|
||||
|
||||
|
||||
class KeyPair(object):
|
||||
class KeyPair(BaseModel):
|
||||
def __init__(self, name, fingerprint, material):
|
||||
self.name = name
|
||||
self.fingerprint = fingerprint
|
||||
|
Loading…
Reference in New Issue
Block a user