[dashboard] Fix KeyPair tracking (#5172)

This commit is contained in:
Radosław Piliszek 2022-05-26 17:30:52 +02:00 committed by GitHub
parent 0d68a47c2b
commit 36dd7a748a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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