@ -58,8 +58,8 @@ func apply(cache *Cache, client *http.Client, tailnet, apiKey string) func(conte
}
}
if cache . PrevETag == "" {
if cache . PrevETag == "" {
log . Println ( "no previous etag found, assuming local file is correct and recording that ")
log . Println ( "no previous etag found, assuming the latest control etag ")
cache . PrevETag = loca lEtag
cache . PrevETag = contro lEtag
}
}
log . Printf ( "control: %s" , controlEtag )
log . Printf ( "control: %s" , controlEtag )
@ -105,8 +105,8 @@ func test(cache *Cache, client *http.Client, tailnet, apiKey string) func(contex
}
}
if cache . PrevETag == "" {
if cache . PrevETag == "" {
log . Println ( "no previous etag found, assuming local file is correct and recording that ")
log . Println ( "no previous etag found, assuming the latest control etag ")
cache . PrevETag = loca lEtag
cache . PrevETag = contro lEtag
}
}
log . Printf ( "control: %s" , controlEtag )
log . Printf ( "control: %s" , controlEtag )
@ -148,8 +148,8 @@ func getChecksums(cache *Cache, client *http.Client, tailnet, apiKey string) fun
}
}
if cache . PrevETag == "" {
if cache . PrevETag == "" {
log . Println ( "no previous etag found, assuming local file is correct and recording that ")
log . Println ( "no previous etag found, assuming control etag ")
cache . PrevETag = Shuck ( loca lEtag)
cache . PrevETag = Shuck ( contro lEtag)
}
}
log . Printf ( "control: %s" , controlEtag )
log . Printf ( "control: %s" , controlEtag )