open-nomad/nomad
Alex Dadgar 3b323603b5 Fix diff alignment and remove no change DC
Old Output:
```
+/- Job: "example"
    Datacenters {
  Datacenters: "dc1"
}
+/- Task Group: "cache" (1 create/destroy update)
  +/- RestartPolicy {
    +/- Attempts: "10" => "9"
        Delay:    "25000000000"
        Interval: "300000000000"
        Mode:     "delay"
  }
  +/- EphemeralDisk {
        Migrate: "false"
    +/- SizeMB:  "300" => "301"
        Sticky:  "false"
  }
  +/- Task: "redis" (forces create/destroy update)
    +   Meta[key]: "value"
    +/- Config {
          image:           "redis:3.2"
      +/- port_map[0][db]: "6379" => "6380"
    }
    +/- Resources {
          CPU:      "500"
          DiskMB:   "0"
          IOPS:     "0"
      +/- MemoryMB: "256" => "257"
    }
    +/- Service {
          Name:      "global-redis-check"
          PortLabel: "db"
      +/- Check {
            Command:       ""
            InitialStatus: ""
            Interval:      "10000000000"
            Name:          "alive"
            Path:          ""
            PortLabel:     ""
            Protocol:      ""
        +/- Timeout:       "2000000000" => "3000000000"
            Type:          "tcp"
      }
    }
```

New Output:
```
+/- Job: "example"
+/- Task Group: "cache" (1 create/destroy update)
  +/- RestartPolicy {
    +/- Attempts: "10" => "9"
        Delay:    "25000000000"
        Interval: "300000000000"
        Mode:     "delay"
      }
  +/- EphemeralDisk {
        Migrate: "false"
    +/- SizeMB:  "300" => "301"
        Sticky:  "false"
      }
  +/- Task: "redis" (forces create/destroy update)
    +   Meta[key]: "value"
    +/- Config {
          image:           "redis:3.2"
      +/- port_map[0][db]: "6379" => "6380"
        }
    +/- Resources {
          CPU:      "500"
          DiskMB:   "0"
          IOPS:     "0"
      +/- MemoryMB: "256" => "257"
        }
    +/- Service {
          Name:      "global-redis-check"
          PortLabel: "db"
      +/- Check {
            Command:       ""
            InitialStatus: ""
            Interval:      "10000000000"
            Name:          "alive"
            Path:          ""
            PortLabel:     ""
            Protocol:      ""
        +/- Timeout:       "2000000000" => "3000000000"
            Type:          "tcp"
          }
        }
```
2017-03-21 11:42:10 -07:00
..
mock Fix fsm/env test 2017-01-24 09:36:22 -08:00
state Fix vet script and fix vet problems 2017-02-27 16:00:19 -08:00
structs Fix diff alignment and remove no change DC 2017-03-21 11:42:10 -07:00
types Change the signature of the PeriodicCallback to return an error 2016-06-10 15:54:39 -04:00
alloc_endpoint.go Nomad builds 2017-02-07 20:31:23 -08:00
alloc_endpoint_test.go Fix nomad tests 2017-02-07 22:10:33 -08:00
blocked_evals.go Cancel blocked evals upon successful one for job 2017-01-04 16:16:04 -08:00
blocked_evals_test.go Cancel blocked evals upon successful one for job 2017-01-04 16:16:04 -08:00
config.go Bump protocol version and update numOtherPeers 2017-02-02 13:52:31 -08:00
core_sched.go Eval GC will collect allocs from stopped batch job 2017-03-11 15:48:57 -08:00
core_sched_test.go Eval GC will collect allocs from stopped batch job 2017-03-11 15:48:57 -08:00
eval_broker.go Remove requeue because it is a subset of EnqueueAll now 2016-06-24 10:14:34 -07:00
eval_broker_test.go Remove requeue because it is a subset of EnqueueAll now 2016-06-24 10:14:34 -07:00
eval_endpoint.go Nomad builds 2017-02-07 20:31:23 -08:00
eval_endpoint_test.go Fix vet script and fix vet problems 2017-02-27 16:00:19 -08:00
fsm.go Fix missing summary restoration 2017-02-08 11:51:48 -08:00
fsm_test.go Add abandon tests and use snapshot for blocking queries 2017-02-08 11:18:03 -08:00
heartbeat.go Nomad builds 2017-02-07 20:31:23 -08:00
heartbeat_test.go Merge pull request #2282 from hashicorp/f-raft-v2-stage-one 2017-02-08 15:26:16 -08:00
job_endpoint.go Make validate work without a Nomad agent 2017-03-03 15:02:03 -08:00
job_endpoint_test.go Fix nomad tests 2017-02-07 22:10:33 -08:00
leader.go Fix vet script and fix vet problems 2017-02-27 16:00:19 -08:00
leader_test.go Merge pull request #2282 from hashicorp/f-raft-v2-stage-one 2017-02-08 15:26:16 -08:00
merge.go nomad: adding merge guard for non-nomad servers 2015-06-04 13:15:46 +02:00
node_endpoint.go Debug lines 2017-03-06 10:25:26 -08:00
node_endpoint_test.go Fix vet script and fix vet problems 2017-02-27 16:00:19 -08:00
operator_endpoint.go Operator command/endpoint/documentation 2017-02-09 18:04:46 -08:00
operator_endpoint_test.go Operator command/endpoint/documentation 2017-02-09 18:04:46 -08:00
periodic.go Handle periodic paramaterized jobs 2017-03-01 11:45:20 -08:00
periodic_endpoint.go Nomad builds 2017-02-07 20:31:23 -08:00
periodic_endpoint_test.go Tests compile 2017-02-07 21:30:57 -08:00
periodic_test.go Handle periodic paramaterized jobs 2017-03-01 11:45:20 -08:00
plan_apply.go Nomad builds 2017-02-07 20:31:23 -08:00
plan_apply_pool.go nomad: guard against a negative pool size 2016-02-20 15:56:08 -08:00
plan_apply_pool_test.go nomad: Adding Size to EvaluatePool 2016-02-20 13:42:13 -08:00
plan_apply_test.go Tests compile 2017-02-07 21:30:57 -08:00
plan_endpoint.go core: Pause NackTimeout while in the plan_queue as progress is being made 2016-03-04 12:59:35 -08:00
plan_endpoint_test.go eval_broker.Enqueue no longer returns an error 2016-05-18 11:35:15 -07:00
plan_queue.go nomad: cleanup stats goroutines 2015-08-05 16:45:50 -07:00
plan_queue_test.go Fix test to tolerate multiple pending plans with the same time stamp. 2015-12-03 10:52:53 -05:00
pool.go Remove dead code 2017-03-03 18:27:49 -08:00
raft_rpc.go Join + Leave peer 2017-02-02 15:49:06 -08:00
regions_endpoint.go nomad: leader forwarding not needed for regions 2015-11-23 22:27:07 -08:00
regions_endpoint_test.go nomad: testing region list 2015-11-23 22:27:07 -08:00
rpc.go Add abandon tests and use snapshot for blocking queries 2017-02-08 11:18:03 -08:00
rpc_test.go nomad: modify forward RPC to hold when no known leader 2016-07-10 13:36:55 -04:00
serf.go Handle Serf Reap event 2017-02-13 14:22:54 -08:00
serf_test.go Handle Serf Reap event 2017-02-13 14:22:54 -08:00
server.go Fix vet script and fix vet problems 2017-02-27 16:00:19 -08:00
server_test.go Vault Client on Server handles SIGHUP 2017-02-01 14:24:10 -08:00
status_endpoint.go Respond to comments 2017-02-08 14:50:19 -08:00
status_endpoint_test.go Reconcile, clean up, and centralize API version numbers (major and minor). 2016-06-10 15:50:11 -04:00
system_endpoint.go Making servers reconcile job summaries when they acquire leadership 2016-08-05 16:47:36 -07:00
system_endpoint_test.go Tests compile 2017-02-07 21:30:57 -08:00
timetable.go Switch to using go/codec and use code generation 2016-02-20 18:05:17 -08:00
timetable_test.go Switch to using go/codec and use code generation 2016-02-20 18:05:17 -08:00
util.go Reconcile, clean up, and centralize API version numbers (major and minor). 2016-06-10 15:50:11 -04:00
util_test.go Reconcile, clean up, and centralize API version numbers (major and minor). 2016-06-10 15:50:11 -04:00
vault.go remove leading slash on vault path 2017-02-28 14:03:18 -08:00
vault_test.go Fix vet script and fix vet problems 2017-02-27 16:00:19 -08:00
vault_testing.go Add server metrics 2017-02-14 16:02:18 -08:00
worker.go Nomad builds 2017-02-07 20:31:23 -08:00
worker_test.go Tests compile 2017-02-07 21:30:57 -08:00