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
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
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
blocked_evals_test.go
config.go
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
eval_broker_test.go
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
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
plan_apply_pool_test.go
plan_apply_test.go Tests compile 2017-02-07 21:30:57 -08:00
plan_endpoint.go
plan_endpoint_test.go
plan_queue.go
plan_queue_test.go
pool.go Remove dead code 2017-03-03 18:27:49 -08:00
raft_rpc.go
regions_endpoint.go
regions_endpoint_test.go
rpc.go Add abandon tests and use snapshot for blocking queries 2017-02-08 11:18:03 -08:00
rpc_test.go
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
status_endpoint.go Respond to comments 2017-02-08 14:50:19 -08:00
status_endpoint_test.go
system_endpoint.go
system_endpoint_test.go Tests compile 2017-02-07 21:30:57 -08:00
timetable.go
timetable_test.go
util.go
util_test.go
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