Skip to content

Commit 5dc7d30

Browse files
authored
update stabilization logging (#260)
1 parent 6907d25 commit 5dc7d30

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

python/rpdk/java/templates/init/guided_aws/StubCreateHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ private boolean stabilizedOnCreate(
150150
// TODO: put your stabilization code here
151151

152152
final boolean stabilized = true;
153-
logger.log(String.format("%s [%s] has stabilized: %s", ResourceModel.TYPE_NAME, model.getPrimaryIdentifier(), stabilized));
153+
logger.log(String.format("%s [%s] creation has stabilized: %s", ResourceModel.TYPE_NAME, model.getPrimaryIdentifier(), stabilized));
154154
return stabilized;
155155
}
156156

python/rpdk/java/templates/init/guided_aws/StubDeleteHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ private boolean stabilizedOnDelete(
133133
// TODO: put your stabilization code here
134134

135135
final boolean stabilized = true;
136-
logger.log(String.format("%s has successfully been deleted. Stabilized.", ResourceModel.TYPE_NAME));
136+
logger.log(String.format("%s [%s] deletion has stabilized: %s", ResourceModel.TYPE_NAME, model.getPrimaryIdentifier(), stabilized));
137137
return stabilized;
138138
}
139139
}

python/rpdk/java/templates/init/guided_aws/StubUpdateHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ private boolean stabilizedOnFirstUpdate(
116116

117117
final boolean stabilized = true;
118118

119-
logger.log(String.format("%s [%s] has been successfully stabilized.", ResourceModel.TYPE_NAME, model.getPrimaryIdentifier()));
119+
logger.log(String.format("%s [%s] update has stabilized: %s", ResourceModel.TYPE_NAME, model.getPrimaryIdentifier(), stabilized));
120120
return stabilized;
121121
}
122122

0 commit comments

Comments
 (0)