Skip to content

Commit

Permalink
Fix order of autoload annotation2 check (#909)
Browse files Browse the repository at this point in the history
  • Loading branch information
cristinaleonr authored Oct 4, 2024
1 parent 95f120a commit 67b06b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k8s/daemonsets/templates.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ local Heartbeat(expName, tcpPort, hostNetwork, services) = [

local ExperimentNoIndex(name, bucket, anonMode, datatypesArchived, datatypesAutoloaded, hostNetwork, siteType='physical') = {
local autoAnnotations = contains("annotation2", datatypesAutoloaded),
local datatypesPushed = ['tcpinfo', 'pcap', 'scamper1', 'hopannotation2'] + datatypesArchived + if autoAnnotations then ["annotation2"] else [],
local datatypesPushed = ['tcpinfo', 'pcap', 'scamper1', 'hopannotation2'] + datatypesArchived + if autoAnnotations then [] else ["annotation2"],
local allVolumes = datatypesArchived + datatypesAutoloaded,
apiVersion: 'apps/v1',
kind: 'DaemonSet',
Expand Down

0 comments on commit 67b06b4

Please sign in to comment.