Bumping docker image version

Change-Id: I7f57a8633e8e3df2393395b2f6fe1e3ad0313aaa
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
diff --git a/container-tag.yaml b/container-tag.yaml
index 4242e70..b3e924f 100644
--- a/container-tag.yaml
+++ b/container-tag.yaml
@@ -2,4 +2,4 @@
 # By default this file is in the docker build directory,
 # but the location can configured in the JJB template.
 ---
-tag: 0.5.1
+tag: 0.5.2
diff --git a/manager/cmd/manager.go b/manager/cmd/manager.go
index d74c62d..f4b7b8e 100755
--- a/manager/cmd/manager.go
+++ b/manager/cmd/manager.go
@@ -90,6 +90,7 @@
 	// Clear alarm if found from active alarm list
 	if m.AlarmAction == alarm.AlarmActionClear {
 		if found {
+			a.alarmHistory = append(a.alarmHistory, *m)
 			a.activeAlarms = a.RemoveAlarm(a.activeAlarms, idx, "active")
 
 			if a.postClear {