15720: Batch user update API.
[arvados.git] / lib / dispatchcloud / worker / worker.go
index 49c5057b3842e49da945d40c3950f7c2185dfcc5..03ab15176f5297b85182d3689b71f5a3f0195004 100644 (file)
@@ -455,8 +455,8 @@ func (wkr *worker) saveTags() {
        instance := wkr.instance
        tags := instance.Tags()
        update := cloud.InstanceTags{
-               tagKeyInstanceType: wkr.instType.Name,
-               tagKeyIdleBehavior: string(wkr.idleBehavior),
+               wkr.wp.tagKeyPrefix + tagKeyInstanceType: wkr.instType.Name,
+               wkr.wp.tagKeyPrefix + tagKeyIdleBehavior: string(wkr.idleBehavior),
        }
        save := false
        for k, v := range update {