@@ -153,7 +153,6 @@ protected void doStartProxy(Proxy proxy) throws Exception {
153153 // add labels need for App Recovery and maintenance
154154 spec .addRuntimeLabel (RUNTIME_LABEL_PROXY_ID , true , proxy .getId ());
155155 spec .addRuntimeLabel (RUNTIME_LABEL_PROXIED_APP , true , "true" );
156- spec .addRuntimeLabel (RUNTIME_LABEL_STARTUP_TIMESTAMP , true , String .valueOf (proxy .getStartupTimestamp ()));
157156 spec .addRuntimeLabel (RUNTIME_LABEL_INSTANCE , true , instanceId );
158157
159158 spec .addRuntimeLabel (RUNTIME_LABEL_PROXY_SPEC_ID , false , proxy .getSpec ().getId ());
@@ -163,6 +162,7 @@ protected void doStartProxy(Proxy proxy) throws Exception {
163162 spec .addRuntimeLabel (RUNTIME_LABEL_USER_ID , false , proxy .getUserId ());
164163 String [] groups = userService .getGroups (userService .getCurrentAuth ());
165164 spec .addRuntimeLabel (RUNTIME_LABEL_USER_GROUPS , false , String .join ("," , groups ));
165+ spec .addRuntimeLabel (RUNTIME_LABEL_STARTUP_TIMESTAMP , false , String .valueOf (proxy .getStartupTimestamp ()));
166166
167167 ExpressionAwareContainerSpec eSpec = new ExpressionAwareContainerSpec (spec , proxy , expressionResolver );
168168 Container c = startContainer (eSpec , proxy );
0 commit comments