diff --git a/scheduler/util.go b/scheduler/util.go index 961b698fe..382573871 100644 --- a/scheduler/util.go +++ b/scheduler/util.go @@ -299,6 +299,9 @@ func tasksUpdated(a, b *structs.TaskGroup) bool { if !reflect.DeepEqual(at.Env, bt.Env) { return true } + if !reflect.DeepEqual(at.Artifacts, bt.Artifacts) { + return true + } // Inspect the network to see if the dynamic ports are different if len(at.Resources.Networks) != len(bt.Resources.Networks) {