Returns the changes applied by a `jid` jid The job id to lookup config Configuration name. CLI Example: .. code-block:: bash salt '*' snapper.diff_jid jid=20160607130930720112
(jid, config="root")
| 912 | |
| 913 | |
| 914 | def diff_jid(jid, config="root"): |
| 915 | """ |
| 916 | Returns the changes applied by a `jid` |
| 917 | |
| 918 | jid |
| 919 | The job id to lookup |
| 920 | |
| 921 | config |
| 922 | Configuration name. |
| 923 | |
| 924 | CLI Example: |
| 925 | |
| 926 | .. code-block:: bash |
| 927 | |
| 928 | salt '*' snapper.diff_jid jid=20160607130930720112 |
| 929 | """ |
| 930 | pre_snapshot, post_snapshot = _get_jid_snapshots(jid, config=config) |
| 931 | return diff(config, num_pre=pre_snapshot, num_post=post_snapshot) |
| 932 | |
| 933 | |
| 934 | def create_baseline(tag="baseline", config="root"): |
nothing calls this directly
no test coverage detected