Skip to content

Commit c4494e5

Browse files
authored
Merge pull request #41 from lvarin/fix-cancel
Adding missing quotes
2 parents c18447b + 4b9c716 commit c4494e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/uk/ac/ebi/tsc/tesk/k8s/constant/Constants.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public class Constants {
144144
/**
145145
* Patch object passed to job API, when cancelling task
146146
*/
147-
public static final V1Patch CANCEL_PATCH = new V1Patch("{\"metadata\":{\"labels\":{"+LABEL_TASKSTATE_KEY+":"+LABEL_TASKSTATE_VALUE_CANC+"}}}");
147+
public static final V1Patch CANCEL_PATCH = new V1Patch("{\"metadata\":{\"labels\":{\""+LABEL_TASKSTATE_KEY+"\":\""+LABEL_TASKSTATE_VALUE_CANC+"\"}}}");
148148
/**
149149
* Patch object passed to pod API, when cancelling task
150150
*/

0 commit comments

Comments
 (0)